See this related discussion: https://www.reddit.com/r/UsbCHardware/comments/11zl0br/im_running_out_of_usbc_ports_on_my_laptop_why/
There are a few "splitter" type devices which accept USB-C from the laptop and outputs Displayportor HDMI alongside a USB-C PD 100W input to power the laptop: - https://www.amazon.com/dp/B0746NM5H9 - https://www.amazon.com/dp/B09BMV12F8 - https://www.amazon.com/dp/B09BMV12F8 - https://www.amazon.com/dp/B09BN6GCW2
But I have not seen the equivalent with USB-C output to the monitor. That would be a great little device. The next generation of USB4 hubs will have this functionality if you can wait a few months:
https://www.mslforces.com/cable-and-adapter/usb4-thunderbolt4-hoover-ridge-5-in-1-hub-60w.html
Otherwise you can get a dedicated USB-C KVM hub device and bypass the one built into the monitor. Or get a Thunderbolt Dock. $$$