I understand 100% the OP concerns. I think the best way to keep your children safe is to model good behaviour and hopefullly they will pick good friends and good romantic partners. If your children date someone who they need a restraining order against, well, that is exactly the person who is not going to respect it. You should be willing to make sure they (and it is sadly usually a man) know your child is not going to be their victim. Have your children be in good physical shape so they can fight back if needed and in good mental condition so those type of people don't pick them in the first place. Don't give your children trouble for standing up to a bully even if they get in trouble at school. (What a way to reward bullies and to ensure they keep bullying!)
That said, good grief, I would never stay married to a man who would hide in the closet with me! I say this, sadly, with some experience. Last year a man broke into our house in the middle of the night. Thankfully, my husband and teenage son went right into action. My daughter and I looked for places to hide or to escape. This wasn't something we had planned or practiced 'fire drills' on. No one prepares for this. The police came and once they realized we were not criminals they told us that they would have done the same thing but that next time they should just let him take what he wants. My husband, said very clearly "that's the problem; he isn't welcome to take my stuff or hurt my family - he picked the wrong house" (He of course said it a bit rougher) It was wild, no one was thinking clearly.
He had a major advantage in that he was awake while we were sleeping. No one can think "I would hide and then call police" or 'I would fight' or "I would run" You literally have no idea what you would do and I would respectfully suggest that unless you have had military or police training you will react under instinct. The criminal made up a bizarre story and charges were laid. Hopefully he rethinks his life because the next home owner might actually have a heart attack and die. I honestly think if I was a bit older I would have. I was terrified. My daughter was physically ill once the police left. My son thinks what a POS and while he won't go looking for him he doesn't regret his actions that night. My husband wishes he had woken up a minute earlier. This has cost us our sense of safety, 100s in therapy, time and money to fix garage door and 100s in security cameras. We already had an alarm and thankfully I had set it that night. Gave the criminal only a minute before we were woken up. (He didn't even know we had an alarm because we have silenced our countdown due to waking each other up - so it is silent until it goes off)
We live in a nice, middle to upper middle class neighbourhood, in Canada. The police told us he probably picked our home to take our vehicles. He probably planned to grab the keys and distribute them to his runners and then go. We, however, having been woken from a deep sleep had no way of knowing his intentions or even having the ability to think clearly. It was pure instincts. This part makes me mad when I think of it now, he KNEW people were asleep in the house and he came in anyway.
Anyhow, I think it isn't so clear cut. I don't want to get into a pissing match on the internet and honestly, I think whatever a victim does to survive is the right decision - run, fight back clawing at his face or junk, send your brother to knock him out, honestly, I don't care that much about the criminals anymore. I wouldn't go looking for trouble but I am definitely not going to look the other way while they victimized me nor would I give someone any grief for defending themselves. Maybe, they should be a bit more afraid of attacking people or breaking into people's houses.
I'd rather have a warrior in the garden then a gardener in a war, or however that saying goes.
Good luck OP! Parenting isn't for the faint of heart!!