public function setAutoLock($autoLock)
    {
        if ($this->locked) {
            throw new Exception\LockedContainerException();
        }

        $this->autoLock = (bool) $autoLock;

        return $this;
    }