Only sync supported activities to Strava

I have my Strava account linked to my Garmin Connect account, so activities sync automatically. This works great for sports like running, cycling and swimming.

However, other activities (such as gym sessions) are recorded as 'bike rides' on Strava, unless I later manually edit the activity type on Strava separately. Moreover, I don't particularly want these activities syncing with Strava. Is there a way to manually select which types of activities sync with Strava? Or at least a way to get Strava to match the activity type correctly (Strava does support a wide range of activities -