One way to lock a Windows computer from your keyboard is by pressing Ctrl + Alt + Del and then selecting the "Lock" option.
Considering how much sensitive data your PC holds, you’ll want it locked down tight. Windows does a decent job out of the box, but a you can boost your security ...