Wire keypad a little differently

Alright, so I’m in the process of making a wired space station with parts from SBEP and various spacebuild ents (Hangars, blast door, drop bay)
I’ve got an elevator shaft, and it has a door to outside on the roof of the main building. I put a keypad on the blast door there and I’m trying to get it so that when you put in the right password, the door opens and stays open until you press a button on the inside or outside, but I don’t want the button on the outside to open the door.
It’s a bit out of my grasp of wiremod knowledge, so could I have a hand figuring this out? Feel free to ask something if you don’t understand what I’m getting at or w/e.
Thanks in advance, Facepunch.

Toggle (edge triggered), constant value (1), or gate.

Sorry, I don’t quite understand what you mean by edge triggered…

It is the name of a gate. It is under gate - memory.

Thanks, I’ll give it a try.

[editline]01:06PM[/editline]

Awesome, it worked. Thanks for the help whosdr!