When you tilt your phone sideways, it automatically switches from portrait to landscape mode, which is great for viewing photos and videos. But sometimes auto rotate can be a bother.
To lock into portrait mode:
Settings > Display.global-en-us-en-us-3213-42