How to Troubleshoot Surface Screen Rotation Issues
Surface devices are designed with a motion sensor that rotates the device’s screen to landscape or portrait mode automatically according to the orientation of the display.
https://enbooks-quick.com/how-to-troubleshoot-surface-screen-rotation-issues/