protected function isUnlocked($lockId)
    {
        $unlocked = $this->session->get("unlocked");
        if ($unlocked && in_array($lockId, $unlocked)) {
            return true;
        }

        return false;
    }