code: func (l *locksFlags) Filters() (map[string]string, error) {
  	filters := make(map[string]string)
  
  	if l.Path != "" {
  		path, err := lockPath(l.Path)
  		if err != nil {
  			return nil, err
  		}
  
  		filters["path"] = path
  	}
  	if l.Id != "" {
  		filters["id"] = l.Id
  	}
  
  	return filters, nil
  }
docs: // Filters produces a filter based on locksFlags instance.