resource_locking.go
func (c *Client) LockResource(resource interface{}) error {
	rpath, err := resourcePath(resource)
	if err != nil {
		return err
	}
	_, err = c.MakeApiRequest("PUT", fmt.Sprintf("/1.0/%s/lock_resource", rpath), nil, nil)
	if err != nil {
		return err
	}
	return nil
}
func (c *Client) LockResource(resource interface{}) error {
	rpath, err := resourcePath(resource)
	if err != nil {
		return err
	}
	_, err = c.MakeApiRequest("PUT", fmt.Sprintf("/1.0/%s/lock_resource", rpath), nil, nil)
	if err != nil {
		return err
	}
	return nil
}
// LockResource locks a resource against destroy requests. Support brightbox.CloudIP, brightbox.Server, brightbox.Image and brightbox.LoadBalancer