Link: Secret Knock Activated Drawer Lock | Adafruit Learning System

Disclaimers:

As always, read and understand this guide completely before starting the project.
The project is for fun. Don't use it for serious security or to lock people inside of anything.