What’s the rationale behind putting "log out" in settings/parameters?

I wanted to log out from Teams but finding how to wasn't an easy task.

Step 1

enter image description here

Step 2

enter image description here

I once had an internship where my boss asked me to do the same. I then asked why, and he told me that we sometimes don't want people to log out. So we put the link in a place where they can't easily find it.

Is it true? Is there more to it than just preventing the user from logging out? And why don't we want people to log out?