I’m pretty sure that what you are after is happily the default behaviour.
It is governed by the Parent Category’s Appearance settings, specifically
Default List Filter: all topics
If you choose the other option (no subcategories), you’ll only see the topics which are actually in the Parent Category by default. Users can refine this themselves if they wish when they visit it.