So while I love the convenience this idea provides for shared access to places, and for frictionless don't-even-have-to-get-out-my-keys access, locking oneself out is a solved problem in my book. (Sure, I could lose my keys, but I could also lose my phone—and the redundancy here is another nice and fun thing provided by this system.)
(This habit was largely inspired by getting a car which refused to let me lock myself out: if I pushed the lock button down on the driver's door while the door was open, and then shut the door, it unlocked itself. Previously I'd had one where you held the handle out to override this behavior, but this one insisted on being locked from the outside. And then I noticed that this was keeping my from locking myself out like I had a few times with the old one.)