arduino knock lock

im building the arduino knock lock, and well, im done everything. except for one small thing i want to do. I want to actually put it in a box, and open the box with knocks, but i dont get how to get the servo to lock and unlock the box, and how to place the stuff. Thnks-animalzx

Have a look here

One more !

nilton61: Have a look here

Yeah but how do I position the servo???

The mechanical placement and arrangement of the lever should be obvious from the picture. The programming is best done using the servo library