With IoTuring configured to run as a service in Windows with the local user (using nssm), the Lock command does not work and the computer remains unlocked.
When I run IoTuring directly from the terminal as my local user then the lock command works fine and the computer locks. Think this is related to how Windows runs services as their own sessions separate to the session for the actual user at the computer. So when running it as a service the lock command applies only to the service session and not the active user.
No idea if this would even be possible to fix, but though I'd report it anyway