float|null $ttl Maximum expected lock duration in seconds:
bool $autoRelease Whether to automatically release the lock or not when the lock instance is destroyed:
public function __construct(Key $key, PersistingStoreInterface $store, ?float $ttl = null, bool $autoRelease = true) { }