Disable Local Mac User via RMM and pwpolicy

To remotely disable a local Mac user via RMM or command line:

pwpolicy -v -u "mylocalusername" disableuser
reboot