On any Android phone just go to settings, then display, and you should see an option called "Auto-rotate screen" simply tap on it to disable it and the screen won't switch to landscape more anymore. Even with auto-rotate screen off, when watching a YouTube video if you rotate the screen the video will switch to full screen.