transition of animations from Mixamo while moving

Hello, I am fairly new to Unity (and game development). I downloaded 2 animations from Mixamo to use in my game in Unity. I know that I have to use animator to transition between my 2 animations. My question is regarding animation transition and movement of my character.
The first animation that I have causes my character to move forward a couple of spaces. When my second animation plays, the character slides back to its original position rather than staying on the new position and playing.
How can I make sure that my character stays on the new position and plays the animation rather than sliding back to the old position?

Go back to Mixamo and re-download your animations with the “in Place” box checked when viewing the animation. This will keep your characters model with your player object,