Daemon that catches Lock/Unlock event in Ubuntu Linux