Fixing a bug in Locks group: we have to change the state of the device before sending...