ITS recommends that you lock your workstation before leaving it unattended. To make that as painless as possible, I’d like to share a couple of shortcuts. Note: Locking your computer does not log you off. Instead locking your computer simply protects your programs and data by asking for your password before it will allow anyone to use it. Any running programs you have will continue running until you unlock the computer with your password.
The quickest method on a Windows computer is a shortcut key combo: Windows Key + L. (The Windows key is the wavy-flag key between Ctrl and Alt in the lower left corner of most keyboards.) Folks who don’t like keyboard shortcuts can make a shortcut on the desktop that does the same thing. First right-click on the desktop and select New > Shortcut. For the location, type “rundll32.exe user32.dll, LockWorkStation” as shown below. Then give your shortcut a name such as “Lock” Once you’ve finished you’ll have a shortcut you can click on to conveniently lock your computer before you leave your desk.
There are several ways to achieve this same level of security on a Mac. Check out this howtogeek.com article for simple instructions.