Making animation walk longer than 1 second

I have downloaded the free PBR Dinosaur pack from here. I am trying to make the Stegasaurus walk for a few steps.
I added the DemoAnimator_Walk which is just a simple animation that lasts for 1 second.

This makes the dinosaur make a walking action without actually moving or changing position. Adding another animation like stomp will make the dinosaur move forward for 1 second and immediately go back to the initial position.

This does not change even if I changed the exit time.

How to I make the dinosaur walk forward by whatever duration that is set?

You may want to turn on the “Apply Root Motion” in your animator.
fyi, “_RM” means root motion, which the animation also take cares of the movement of your GameObject. The other one (which move back to it’s initial position) just simply bake the movement into the animation.