code: func FixupLockDelay(raw interface{}) error {
  	rawMap, ok := raw.(map[string]interface{})
  	if !ok {
  		return nil
  	}
  	var key string
  	for k := range rawMap {
  		if strings.ToLower(k) == "lockdelay" {
  			key = k
  			break
  		}
  	}
  	if key != "" {
  		val := rawMap[key]
  		// Convert a string value into an integer
  		if vStr, ok := val.(string); ok {
  			dur, err := time.ParseDuration(vStr)
  			if err != nil {
  				return err
  			}
  			if dur < lockDelayMinThreshold {
  				dur = dur * time.Second
  			}
  			rawMap[key] = dur
  		}
  		// Convert low value integers into seconds
  		if vNum, ok := val.(float64); ok {
  			dur := time.Duration(vNum)
  			if dur < lockDelayMinThreshold {
  				dur = dur * time.Second
  			}
  			rawMap[key] = dur
  		}
  	}
  	return nil
  }
docs: // FixupLockDelay is used to handle parsing the JSON body to session/create
  // and properly parsing out the lock delay duration value.