Added the lock daemon.
Synced values from potentiometer with the intervals on the case.