Having been a licensed general contractor and custom home builder for 9 years, I can tell you they are against the building codes of every city and county I have built in.

I am not fond of them simply because there is the chance of being locked in during a fire.

Look to a security system with glass breakage sensors if you are that concerned about someone gaining entry thru the means you have listed.
_________________________
I do the things that I must, and really regret, are unfortunately necessary.

RIP OBG