If you are using a Microsoft Surface or a 2-in-1 convertible laptop, the screen rotates automatically when you turn the device. If you want to lock it in place:
The most reliable way to rotate your screen is through the Windows Settings menu. This method works on all computers regardless of the graphics card. How to Rotate Screen in Windows 11 how to rotate screen windows 11