Go to Settings, then Display, and increase the screen timeout to 30 minutes or more. For a more permanent solution, I enable Developer options by going to Settings > About phone, then tapping Build ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results