They call it fire code inspections. Most commercial places are inspected at least once a year.
You can't have an emergency exit that locks, it must always be openable from the inside. You get huge fines for an emergency exit that is blocked in any way, and the fire inspectors will shut down your business until it is fixed.
The system isn't perfect but it works most of the time, fire deaths in the US are quite rare.