> ## Documentation Index
> Fetch the complete documentation index at: https://developer.plugchoice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Lock

Locks or unlocks the charger. When locked, the charger is set to `Unavailable` in OCPP and will not accept new charging sessions. Returns a `204 No Content` response on success.

<ParamField path="charger" type="string" required>
  The UUID of the charger.
</ParamField>

<ParamField body="enabled" type="boolean" required>
  Set to `true` to lock the charger (make unavailable) or `false` to unlock it (make available).
</ParamField>
