Stop in for a cup of coffee

If you see rotation_lock_icon.png in the status bar, Orientation Lock is on. To turn it off, swipe up from the bottom of the screen to open the Control Center, then tap ios10-control-center-device-lock-icon.png.

iphone7-ios10-control-center-orientation-lock.jpg