How to stop Anim Montage Loop by using a keyboard key

Just stop the animation. Example, where you press X to start the montage and C to stop it: