pub const API_DeviceNotLocked: &str = "API_DeviceNotLocked";
The operation requires the device to be locked first.