code: func (store FileStore) newLock(id string) (lockfile.Lockfile, error) {
  	path, err := filepath.Abs(filepath.Join(store.Path, id+".lock"))
  	if err != nil {
  		return lockfile.Lockfile(""), err
  	}
  
  	// We use Lockfile directly instead of lockfile.New to bypass the unnecessary
  	// check whether the provided path is absolute since we just resolved it
  	// on our own.
  	return lockfile.Lockfile(path), nil
  }
docs: // newLock contructs a new Lockfile instance.