The code and schematics were made for a secret knock lock project.
To select your pattern and unlock the box, follow the instructions in the video. To lock the box, either restart the Arduino or knock with similar intervals up to 4 times.
To upload the code to your Arduino, download the folder above and open the code inside with Arduino IDE.