I understand that the lock command is the same function as pressing the sleep button on the iOS device. If the log shows that the lock command push has been successful, the device's screen turns off and changes to a lock screen. To verify this, you will need to wait and see if the screen on the device does not turn off. I saw this function working before.
... View more