In the long run? Nah. Eventually the APCs roll in.
If you're a person of interest and they can get to you, encryption won't save you from the $5 wrench, just as small arms won't save you from the APC. However, that doesn't mean that ubiquitous e2e encryption doesn't change the envelope w.r.t. law enforcement capabilities writ large. It's the difference between being able to find $5 wrench targets via dragnet surveillance of message content vs. needing more gumshoe techniques, just as an obvious example. You can't simultaneously wrench everyone at once.
An armed populace functions similarly: while getting Waco'd is certainly possible, you can't simultaneously Waco half of the country, which is what would be required in any attempt to enforce truly unpopular policy door-to-door. Imagine a Shanghai-style lockdown* in the US: it'd be a mutual bloodbath on day one. Imagine those Australian running street battles, but with firearms. The inability to do such things cleanly definitely changes the envelope of law enforcement capabilities, regardless of who'd win X arbitrary individual/small-group level engagement.
We can argue all day whether either of those developments is positive for societies, but the dynamic itself definitely exists.
* I have heard the take that legal rights, rather than dynamics of enforcement, were behind avoiding that scenario. I don't find that very convincing as plenty of measures were ultimately shot down by the courts, indicating that concern for possibly encroaching on legal rights wasn't a primary motivating factor. Besides, the fact that enforcement mechanisms of most such policies targeted financial flows by going after employers, rather than individuals at the physical level, seems like a pretty good indication that real-world enforceability was a limiting factor. Furthermore, real enforcement of some pandemic policies would have been quite popular in some areas: in my quite liberal city, there was nonstop baying at LE to "do something" about e.g. mask compliance, a legally-grounded policy. The fact that at no point did they do anything has a lot more do with practicality of enforcement than with legality of policy.
In slums, drug cartels found enough of people willing to throw the life away. And as much as they are able to deal drugs, there is no symmetry between them and state. The Dead bodies just pile up.
Armed population does absolutely nothing except lynching here and there. And even those lynching happened with approval from state.
If the gangs wanted to make a stand against the state, they could. They would need to take and defend their territory while increasing their numbers, likely via kidnapping and child recruitment.
That is a pure fantasy. You know how I know? Because gangs historically and worldwide occasionally tried. This fails all the time.
My original point was that there is utility in having an armed populace because it requires government agents to evaluate the risk of infringing actions more heavily. Even if the citizens lose, nobody wants to be a casualty in they're resistance.
It succeeds plenty. The list of successful coups by paramilitary groups is loooooong.
Hell, the Nazis started essentially as a gang.
It's a fantasy. And it's destructive for the community to replace rule of law with rule of whoever-has-more-guns.
Give me a break, them having guns in no way prevented LE from doing what they wanted.