code: public function init()
      {
          if ($this->autoRelease) {
              $locks = &$this->_locks;
              register_shutdown_function(function () use (&$locks) {
                  foreach ($locks as $lock) {
                      $this->release($lock);
                  }
              });
          }
      }
docs: Initializes the Mutex component.