To always open Word, PowerPoint, and Excel files in their Desktop Apps follow these steps.
- In your Teams app click your initials or profile picture in the top right corner
- Click Manage account
- Click Files
- Select "Desktop App" from the drop down menu