But want to assure that no-one else can use the computer while you are away,
Locking the desktop is the best option.
By pressing WINDOWSKEY+L,
You password protect your system just as if you had logged out or restarted the computer.
The advantage is that any programs or processes that were running when you locked the desktop will
Stay open and running in the background, ready for you to resume work or play.