Interesting. That's what's happened in the last two companies I've worked for when they did layoffs. I'm typing this message from my ex-corporate laptop right now...

The process was that IT locked the laptop until the severance package was signed, then you got a code that let you reboot and reinstall MacOS.