This circuit Can be used as a Keypad code, making each pushbutton represent a correct number on the keypad. Supose the correct sequence is 5-3-7. The other numbers are dummies, so they don't need to be Connected to anything.
Update: Added reset NC Pushbutton with pulldown resistor (Thanks to kaivanveldhoven)