After a certain amount of idle time, the Windows 10 device might dim the display, activate the lock screen, or power down the display to conserve power. You can set an option to prevent screen lock for a remote desktop or application.
Note: Windows 10 devices register watching and listening as user idle time. The amount of idle time required before screen lock occurs depends on the device's user settings.