This commit changes the operation of the command "lock" to use the method suggested in the issue, but in python instead.
There doesn't appear to be any downsides to this method, and I find the result faster as well as respecting power options, but I have left the old method in and renamed it to "switch user" as this more accurately describes its operation.
Resolves #402
This commit changes the operation of the command "lock" to use the method suggested in the issue, but in python instead.
There doesn't appear to be any downsides to this method, and I find the result faster as well as respecting power options, but I have left the old method in and renamed it to "switch user" as this more accurately describes its operation.