Running some programs with administrator rights is often necessary for full functionality, especially for system tools or ...
One way to lock a Windows computer from your keyboard is by pressing Ctrl + Alt + Del and then selecting the "Lock" option.
Windows 10 allows you to change your password or recover it at any time if you forget it.