Arduino Locker

Use a numeric keypad. Once the right code is entered a solenoid pops the lock and a nice motor or pneumatic cylinder swings the door open. Or better yet spring load the door. Then it pops open as soon as the lock is released.