Sleeplock is a system which automatically locks a door when his user lies down on bed (Arduino prototype source)