my phone screen doesnt turn when i turn the phone from side to side

when I turn my phone from side to side, the screen doesn't change,why?
Welcome to iMore.

Is your screen orientation locked. On your screen in the top right corner do you see a circled arrow with a lock inside of it. If so, swipe up from the bottom of your screen and turn the screen orientation lock off.

Original thread: https://forums.imore.com/threads/my-phone-screen-doesnt-turn-when-i-turn-the-phone-from-side-to-side.382122/