Pretty sure I'd get fired if I did anything with unauthorized access to someone else's machine. They might too.
Firing is a little extreme. We just embarrass people to remind them. Also if it's a safe place – in an office meeting room or something, we're unlikely to do it, but if it's in a co-working space, it's fair game.