Are you confused in #Teams because sometimes Enter sends message but sometimes it does a line break?
I just realised that when you're in "show formatting options" mode, it is the latter, otherwise the former.
To activate this mode, click on the little A+ pen icon at the bottom of the composing windows.
Of course Teams could just always have Enter do a line break... But that would be too easy and intuitive! ugh