A basic form of security for your desktop or notebook PC is to set up a lock screen, similar to what you might have on your mobile phone. Lock screens can be set to activate after a certain period of inactivity and then require you to enter your password before you can use the PC again.
For instructions on how to use the lock feature click on the tab below for the operting system you are using.