Yeah my understanding of burgling is it’s all about speed. One of the best deterrents you can have is I think called “laminate glass,”that doesn’t shatter into a bunch of pieces when it’s hit. It has a tendency to hold together so they have to spend precious seconds knocking out more of it which almost always makes them run away rather than risk it.
If I can go out on a limb here, I also think I recall that they have very specific things they look for. For instance they will often run straight for the master bedroom and start pulling out drawers/checking closets because people tend to keep jewelry in there. They want small items.
Anything that slows them down tends to deter them even if they make an initial attempt