snaily made a fun colour combo lock that was changeable in the back
it was a 1x1 plates stacked in a 2x3 to give 6 buttons, red/green/blue, using projectiles/relays to verify the code
if you post what the interface looks like, i'm sure the events wouldn't be too difficult to come up with (as well as if the code should be mutable or static)