Hello Matthew,
Please kindly check if your BIOS is updated.
And please reinstall graphic driver.
Please refer to below official support website
ZenBook 13 UX331|Laptops For Home|ASUS GlobalWhat brand or model is your USB C dock? what kind of device is connect it to the dock?
do you disconnect the external devices from the dock first then disconnect the dock from the laptop?
Also connect the dock to laptop first then connect external device one by one to the dock?
Thank you.