How do I lock my screen? It's upside down sometimes when I pick it up.

I want to lock my screen so it's in the same position every time I pick it up.
Swipe up from the bottom to reveal the Control Center. Afterwards, tap on the last icon at the top right. That will prevent the screen from rotating.
Use control centre and press the top right button
Use control centre and press the top left button

Tapping the "top left button" in the Control Center will place the device in Airplane mode.
Sorry for my mistake. I have corrected my post

Original thread: https://forums.imore.com/threads/how-do-i-lock-my-screen-its-upside-down-sometimes-when-i-pick-it-up.321543/