Automatically releases the underlying lock when the object is destructed.
public function __destruct() { if (!$this->autoRelease || !$this->dirty || !$this->isAcquired()) { return; } $this->release(); }