security measure

noun

1.
an electrical device that sets off an alarm when someone tries to break in