Add is_locked to queue