Complete the lock and unlock of an account.