This article explains how to prevent your iPhone's screen from turning off and locking when you're not actively using it. It also explains how to change an iPhone's Auto-Lock settings to keep the screen on for longer than 30 seconds.
How to keep your iPhone screen on
When you get a new iPhone, one of the default settings is an automatic screen lock. The iPhone lock screen helps keep your phone and personal information secure. This default setting activates after 30 seconds of inactivity, turning off and locking your phone’s screen.
Auto-Lock can be frustrating when you want your screen to stay on so you can check directions on Google Maps or get your hands dirty following a recipe. To change your iPhone’s default Auto-Lock settings, follow these steps to prevent your screen from falling asleep.
Tap Settings on your iPhone's home screen.