dynamic abortLocked([body = 'Locked'])

Source

abortLocked([body = 'Locked']) {
  throw new HttpLockedException(body);
}