code: func (c *Client) LockVersion(i *LockVersionInput) (*Version, error) {
  	if i.Service == "" {
  		return nil, ErrMissingService
  	}
  
  	if i.Version == 0 {
  		return nil, ErrMissingVersion
  	}
  
  	path := fmt.Sprintf("/service/%s/version/%d/lock", i.Service, i.Version)
  	resp, err := c.Put(path, nil)
  	if err != nil {
  		return nil, err
  	}
  
  	var e *Version
  	if err := decodeJSON(&e, resp.Body); err != nil {
  		return nil, err
  	}
  	return e, nil
  }
docs: // LockVersion locks the specified version.