Arduino Locker

In school, it wouldn't be long before someone figured out your Secret knock.
How about RFID? or a magnetic sensor?