How do I stop the screen from rotating on my iPhone 5?

My screen rotates when I turn my phone on its side
Re: Stop screen rotation on iphone 5

Swipe up from the bottom of the screen to reveal the Control Center. Afterwards, tap on the last icon at the top (the one that resembles a lock with an arrow around it).

Original thread: https://forums.imore.com/threads/how-do-i-stop-the-screen-from-rotating-on-my-iphone-5.327385/