If a computer detects no input for a period of time, it will first switch the screen to sleep mode to save power. For 2-in-1 devices with Windows 10, a system setting also ensures that the user has to log in again after the display has been automatically switched off. This is done by a registry key that can be reset.