Hi, I hope I can help you with this question.
With this short script, you get a solution to disable the auto-login of teams.
taskkill /IM "Teams.exe" /F
taskkill /IM "Microsoft.AAD.BrokerPlugin.exe" /F
del C:\Users\%username%\AppData\Roaming\Microsoft\Teams\desktop-config.json /q
rd C:\Users\%username%\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy /s /q
I would create a script file with it and put it on the client's desktop.
If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you.