This how to is written for debian distro based operating systems. During this test i’m using Ubuntu Desktop 18.04.3 LTS.
Disable automatic startup
In case you don’t want to automatically startup Micrsoft Teams you can use the following setting to change this behavior. Go to Menu > Search > Startup Applications preferences.
Here you can disable or remove Teams startup.