Open Settings
Tap Display
Tap Screen timeout
Select Never or the longest available time
If needed, check Battery or Power settings for sleep options
On iPhone, go to Settings
Tap Display & Brightness
Tap Auto-Lock
Select Never or the longest available time
On some devices, use Developer options or Advanced settings if Screen timeout is not listed
Save changes if prompted
