final public function lock()
    {
        if (!isset($this->name) || empty($this->name) || ($this->name === 'default')) {
            //@TODO throw exception, namespace cannot be locked;
            return false;
        }
        //echo $this->name." is ".$locked;
        $this->lock = TRUE;
    }