This is why a lot of companies just escort you out the door and don’t give you two weeks.
Layoffs generally, in my experience are you go into the office, told you are gone and escorted out.
A major company I used to work for gave us 90 days.
Elon cut off all access immediately.