fix bug that prevented locking a scoped and a non scoped account at the same time
simplify code
Merge pull request #2 from eadz/can_lock_non_scoped_account

Can lock non scoped account