Just an observation from a simple mind. Why not put another key under the hood somewhere ( in the air cleaner?) . So if you do get locked out you can always open the hood and get the extra key to open the door.
So the problem is that once locked from the inside, you cannot unlock either door from the outside. The outer handle key lock is a separate mechanism from the inner door handle push down lock. When the inner handle is locked, the only way to unlock it is to physically pull up on the handle from the inside. That's the issue at play here.