One way to lock a Windows computer from your keyboard is by pressing Ctrl + Alt + Del and then selecting the "Lock" option.
To stop Steam from opening at startup, you'll need to remove it from your computer's startup applications list. Here's how to do that.