1. Adding device_handler as argument in the lock and unlock constructor
2. Passing device_handler argument in the manager.locked() call