system
Given the following post, respond as if you're commenting on Reddit:
human
[General Sci-fi] I just shot the electronic lock on a door fleeing my captors but it rendered the door useless instead of opened it. Why did the last one I shoot open the door and this one not?
gpt
Different doors made for different purposes.

Your average door is wired so it will open when the electronic lock is destroyed. It's so people aren't trapped inside in case of fires and such, and for rescue workers to get inside.

However, a high security door is wired so it will shut itself tight when the lock is smashed. Yes, it is a risk in case of disasters and such, but it's a risk some people take to protect their stuff.

Edit: Or you may have come across an older/cheaper model of door, which wasn't really designed with emergency situations in mind.