code: func NewClient(remote string, lfsClient *lfsapi.Client, cfg *config.Configuration) (*Client, error) {
  	return &Client{
  		Remote:             remote,
  		client:             &lockClient{Client: lfsClient},
  		cache:              &nilLockCacher{},
  		cfg:                cfg,
  		ModifyIgnoredFiles: lfsClient.GitEnv().Bool("lfs.lockignoredfiles", false),
  	}, nil
  }
docs: // NewClient creates a new locking client with the given configuration
  // You must call the returned object's `Close` method when you are finished with
  // it