You are thinking about USB-C Alt Mode, which is a way for displayport to go over USB-C.
To get 4k60 + USB3.1, you either need USB-C Alt Mode with DP1.4+ (supported by almost zero monitors), or Thunderbolt-3 (supported by fantastically expensive monitors).
It's much more economical to live with USB2.0 for your keyboards and mice, and get a separate USB3.1 hub if you need that.
https://www.bigmessowires.com/2019/05/19/explaining-4k-60hz-...