---
title: DeviceLockCommand.Command
framework: devicemanagement
role: symbol
role_heading: Device Management Command
path: devicemanagement/devicelockcommand/command-data.dictionary
---

# DeviceLockCommand.Command

The command to remotely and immediately lock a device.

## Declaration

```data
object DeviceLockCommand.Command
```

## Properties

Message: The message to display on the Lock Screen of the device. This value doesn’t apply to a Shared iPad device. Available: iOS 7+ | iPadOS 7+ | macOS 10.14+ | watchOS 10+ PhoneNumber: The phone number to display on the Lock Screen. This value doesn’t apply to a Shared iPad device. This value is available for a Mac with Apple silicon only. Available: iOS 7+ | iPadOS 7+ | macOS 11.5+ | watchOS 10+ PIN: The six-character PIN for Find My. Available: macOS 10.8+ RequestRequiresNetworkTether: If true, the device needs to be network-tethered to run the command. RequestType: The request type for this command.
