I remember reading a story about someone who got fired from some Silicon Valley tech job, and they almost immediately revoked their key card, so they got stuck in the staircase and had to wait for someone to hold the door open so they could get out of the building. (As if getting fired wasn't bad enough, you have to beg favours from random passers-by.)
Common after layoff to have to return at an arranged later date (exit interview?) to collect belongings. But can be a bummer if your car keys are in your desk!