Lock your screen on your Windows box
Here's the built-in Windows command: rundll32.exe user32.dll, LockWorkStation
Have you ever walked away and forgot to lock your machine? Now you can lock it remotely with TRIGGERcmd.
One idea: You could use Tasker to lock your PC when your phone disconnects from your home wifi, or when you're outside of a geofence.
@Russ Do you know how unlock the computer?
I use an Alexa routine for when my phone leaves my home area to run that TCMD device.
@Pedro-Albuquerque There is no such command for that, for security reasons.