A door buzzer operates by using an electric current to produce a loud sound when someone tries to unlock the door without authorization. It is connected to a power source and wired to the door lock mechanism. When the lock is tampered with, the buzzer is triggered, producing a loud sound that alerts the occupants of the premises.