You can lock your screen to protect your PC from unauthorized use when you walk away for a short time and do not want to sign out from your user session or turn off your computer. In Windows 10, there is a special Interactive logon: Machine inactivity limit security policy setting that can be used to set how many seconds of inactivity to wait for before your user session will be locked.
Advertisement