lots of people who are upset and probably feel mistreated [...] people like OP feel like their identity and way of life is threatened
But they feel like that because they're being ghosted by the company! Suddenly cut off, with no way to tie up loose ends and say goodbye to people on the way out. That's the mistreatment. If you don't mistreat them like that, maybe people won't feel mistreated or threatened.
I don't have tons of experience with layoffs. In the case where people in my team were directly affected, the company did not summarily cut off access overnight (they couldn't legally, as this was in the UK). It was completely fine and everybody was friendly and civil. It helps that the severance package was very generous, and admittedly the job market was good at the time so people would have been less worried about finding their next job.