When you Lock Portrait Orientation on an iPhone, you prevent the screen from rotating between landscape and portrait modes. You can quickly enable this by opening the Control Center and tapping the Orientation Lock icon while your iPhone is in portrait orientation.