No... does not meet code - nor does it meet accessibility -
In buildings in occupancy Group A having an occupant load of 300 or less, Groups B, F, M and S, and in places of religious worship, the main exterior door or doors are permitted to be equipped with key-operated locking devices from the egress side provided: 2.1. The locking device is readily distinguishable as locked; 2.2. A readily visible durable sign is posted on the egress side on or adjacent to the door stating: THIS DOOR TO REMAIN UNLOCKED WHEN BUILDING IS OCCUPIED. The sign shall be in letters 1 inch (25 mm) high on a contrasting background; and 2.3. The use of the key-operated locking device is revokable by the building official for due cause. 3. Where egress doors are used in pairs, approved automatic flush bolts shall be permitted to be used, provided that the door leaf having the automatic flush bolts has no doorknob or surface-mounted hardware. 4. Doors from individual dwelling or sleeping units of Group R occupancies having an occupant load of 10 or less are permitted to be equipped with a night latch, dead bolt or security chain, provided such devices are openable from the inside without the use of a key or tool. 5. Fire doors after the minimum elevated temperature has disabled the unlatching mechanism in accordance with listed fire door test procedures. Hit list -
If residential in nature -
does not meet items 2.1, 2.2 and item # 4