How to make a working passcode

so uh…
i read this guide on passwords in the old forum, but it the problem is, if u insert the correct numbers in the incorrect order, it still works. heres my current setup (i know its messy)

Try out this guide. Make sure to read all of the comments as there is important information there.

@NavyCatZ I think @Pika_Pokemon already read the guide but on the other forum:

This set up is different from that guide though, so it’s most likely a separate guide.

i read that guide (How to make a passcode for a door or a barrier) before, but im trying to make it more interactive (with buttons and stuff), but thanks!