src/Adapters/Flysystem.php
protected function unlock($key)
    {
        $path = $key.'.lock';
        try {
            $this->filesystem->delete($path);
        } catch (FileNotFoundException $e) {
            return false;
        }

        return true;
    }
protected function unlock($key)
    {
        $path = $key.'.lock';
        try {
            $this->filesystem->delete($path);
        } catch (FileNotFoundException $e) {
            return false;
        }

        return true;
    }
protected function unlock ( $ key ) { $ path = $ key . '.lock' ; try { $ this -> filesystem -> delete ( $ path ) ; } catch ( FileNotFoundException $ e ) { return false ; } return true ; }
Release the lock for a given key.

@param string $key

@return bool
Release the lock for a given key .