The following is a circuit of buttons where only when you use the write combination will the green led glow. References: https://github.com/pranavvaid/ButtonLock/blob/master/ButtonCode.ino Button Combination Lock