Again, there are specific rules for egress in multi-family units for every jurisdiction. Trying to find the answer in a DIY chatroom is the wrong path to take. And your AHJ apparently answered this already: no locking door. That means no locking device.
The standard that was quoted to me was access needs to be provided that requires "no special knowledge" to access, though i am now leaning towards no lock whatsoever.