Alarm systems are often integrated with access control to enhance security. If an unauthorized person attempts to enter a door controlled by the access control system, the system can trigger an alarm. In emergencies like a fire, the system can also temporarily disable locks to allow for quick exit.