How to set up turn in place animations?

Hi there! How can I make the character rotate with an animation when I activate the aiming mode. What I am trying to explain is better understood in the video. I think it has something to do with the degrees of rotation but I get to know how. I hope someone can help me. Thanks

https://vimeo.com/manage/videos/579361373