There is a security bug with Office/Outlook/Teams corporate login web stuff if someone wants to get bug bounty.
It logs you out automatically after some time (I get logged out every morning.)
But if you stay on the "you have been logged out" screen and juggle some tabs that were also logged in to these things, then suddenly it logs you back in.