I like to be able to use Touch ID for quickly unlocking my Macbook, e.g. for when I've walked away from the machine for a few minutes but it's still in a safe place.
But I'd also like to be able to lock it properly, with a password, for when I'm taking it out of the office or otherwise want to enforce more security.
By default you need to enter your password after a system restart, or if you get 5 failed fingerprints in a row, or after no login for 48 hours.
Is there a command-line command, or a programmatic way to replicate this state, so I could script it using one of the various automation tools out there?