The system falls on it's face as it relies on user input (which is proven as unreliable)
Even monitoring door operations would be unsuccessful as one entry could follow another, hense any exit is unrecorded so-to-speak.
Locking or unlocking any access door with a card reader or any other means...