Cancel a character's progress in dying animation

Hello there

I have a character running all the time.

A camera is following my character

My running character dies when he is caught in a hurdle, but continues the animation of the dying by moving forward.

How can I stop her from going forward while she’s dying?

I would appreciate if you could help.