Added account locking/unlocking and checks to see if an account is locked