Well, it outputs a signal when you type in the right code, and it outputs a different signal if the code was wrong. You could just put an e-wall to either of the signals, you can do that yourself, its not rocketscience.
I got to admit thought that there are some "Wrong codes" that do not output any signal, but im thinking about that already.
Edit: Everything works now as it should, and any code but the right one will result in a "locked" signal instead of no signal at all