added `is_locked` to Account