On a Microsoft Windows device with screen rotation (e.g. Surface Pro, Surface Go) there is an option to lock the screen if you click in the bottom right near time/date.

Please note: The option can't be changed if you have a keyboard attached (it will be greyed out).

#orientation rotate clockwise landscape portrait

Did this answer your question?