Issue 1332

Fixes #1332 once merged:

* Added new account locking system with 0/1/2 flags
* Ignore shares for admin-locked accounts with flag 2