A device can be locked. Locking a device is the same as if you pushed the device lock button locally. If no passcode exists, the device can be unlocked without one. If a passcode exists, it is required to unlock the device.
We often use this command internally just to test that command functionality is working. With device in hand, if you send this command you should see the device lock momentarily.
Use the ellipsis (View - Devices and select "Lock Device"
) to the right of the device in the