I am amazed that you completely throw out the window the wisdom in preventive measures and simply wait for the crimes to physically happen then respond to them. It's a no-brainer that most of the extreme and mass violent crimes have been facilitated and coordinated digitally.
Even if Apple could unlock iPhone storage given the phone and a valid warrant, law enforcement would still need to get the warrant and take the phone from the owner. Unlocking individual devices is not broadly useful as a preventive measure; it's something that could be done only after you have probable cause and don't mind alerting the target that law enforcement is interested in him.