A security mechanism for a store in which the exit door is selectively locked when an alarm, such as the sound of breaking glass is sensed. The locked door, once locked in response to a security alarm, is opened by the presence of an emergency vehicle proximate to the store, thereby allowing police to enter the store.