Why was it necessary for so many people to be hiding in their houses? I certainly have never seen an entire city shut down and hiding at home because a couple of murders were out there.
Probably, doing so makes it more likely that anyone the cops find outside is the suspect, while lessening the likelihood that a confrontation will lead to civilian casualties.
Also, no one knew how many other bombs there may have been, so public areas still posed an unknown risk.