If you mean one of those battery powered stick-on alarms, it's not good enough sadly.
We need an internal sounder wired up to door contacts and a key-switch insolator.
This is because we have children and this alarm is to let us know if someone's gone in/out of the building without us knowing.