This is my smart automatic door lock system. I 3d designed and printed the entire contraption. I also designed the electronics circuitry and wrote the code for it.
There is a toggle button that can be used to lock and unlock the door. Outside there is a knock sensor that can be used to knock at the door in a previously programmed sequence. There is a programming button that can be used to program a new secret sequence of knocks.
I have tried to minimize the power consumption of Arduino as much as possible so that I can run the entire thing on a 3000 mAh 18650 battery. To that end, the arduino goes into deep sleep as soon as it becomes idle.