Use the Open Settings to enable or deactivate screen rotation.
Select the Display option.
Change the Rotation lock on or off in the Scale and layout section.