To stop an animation in its last frame, you click on the state of the animation you want. Click on the animation and in the Details panel, you will find a Loop box under variables, with a pin box on the left. Simply uncheck the loop box, so when the animation ends, it will stop for good.