How To Get Shot

Police pose as burglars by trying to open people’s windows and doors in the middle of the night, occasionally dragging residents out of bed to scold them. Why? They want to remind people to secure their property and cut down on burglaries.
If this happened in the US rather than Britain, it sounds like a sure-fire way to get shot.