Something like a Patlock can be useful as a visual deterrent, however remember that the glass could still potentially be smashed and allow the burglar to gain entry without having to get through the lock. A burglar alarm would of course detect this or any other kind of entry as long as it was set so provides much better security than the lock alone.
[Question posed during National Home Security Month 2015]