If you are using root motion the movement is tied to the animation. In this case you will need to increase the transition duration to the idle animation within the animator controller.
If you are not using root motion you can increase the dampening value on the character locomotion component.