Theres footage online of a basic security door stopping an armed robber from escaping despite him trying to shoot the lock.

Bullets aren't universal door openers, and shooting your way through one lock doesn't magically unlock the next one.

And the bullets and time spent getting through the door are bullets and time that aren’t used harming the people behind that door.