It wont work if the device is locked and when the alarm goes off just press the "home" button and the alarm will go off or just wait 5 seconds for the alarm to shut off.
Jaxx!!! about Thief Alert : Burglar Alarm