is_locked default and detection