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

# Lock Device

Remotely lock a device. For macOS clients, an unlock PIN will be created.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Iru Endpoint Management documentation](https://api-docs.iru.com/#f2fc0e99-c758-4eb8-bb3d-0ea72d0c0213).

## Parameters

| Parameter | Description |
| - | - |
| Device ID | The device's ID. |

## Example Output

```json theme={"dark"}
{
	"PIN": "496406"
}
```
