You don't just electrify doors that can cause lethal harm as a cyborg because it's against your laws. They're called "laws" for a reason. What you should've done is called security, equipped your flash then took him down with that, something that, you know, can't potentially kill a person.