How to set the last character's position to be the same as in anim montage and in the game?

In animation montage player moved backward, and I would like the character should stay at this last position at the last keyframe, but he returns to the original position to the first keyframe. I’m using Mixamo characters and animations