Implemented is_locked status

Locks now have an is_locked value