Here's how to in Windows 11:
Complete Guide to Auto Rotate Screen in Windows 11 Screen rotation optimizes your viewing experience on 2-in-1 laptops, tablets, and multi-monitor setups. Windows 11 automates this process using built-in device sensors. How Auto-Rotate Works in Windows 11 auto rotate screen windows 11
Outdated sensor drivers prevent Windows from reading physical movement. Right-click the Start button and select . Expand the Sensors category. Right-click your HID Sensor Collection or Accelerometer. Select Update driver and choose automatic search. Restart your computer. 4. Verify Sensor Monitoring Service Here's how to in Windows 11: Complete Guide
: Look under the Scale & layout section for Rotation lock . auto rotate screen windows 11