After a period of inactivity, the screen turns off to conserve battery power.
You can set the idle time before the screen turns off.
Home screen, tap
Screen timeout, and then select the time before the screen turns off.
Screen attention is enabled, the screen will not turn off while you're looking at it. This feature uses the front camera to determine whether you're looking at the screen.