code: public function setLockStore(StoreInterface $store): Factory
      {
          $this->lockFactory = new Factory($store);
          return $this->lockFactory;
      }
docs: Set the lock store to use.
  
  @param StoreInterface $store
  
  @return Factory