/**
  * @EXT\Route(
  *     "/ordered/tool/{orderedTool}/locke/toggle",
  *     name="claro_admin_ordered_tool_toggle_lock",
  *     options={"expose"=true}
  * )
  *
  * @EXT\ParamConverter("authenticatedUser", options={"authenticatedUser"=true})
  */
 public function toggleLock(OrderedTool $orderedTool)
 {
     $isLocked = $orderedTool->isLocked();
     $orderedTool->setLocked(!$isLocked);
     $this->toolManager->editOrderedTool($orderedTool);
     return new Response('success', 200);
 }