Both Thunderbolt docks and the best USB-C hubs and dongles provide legacy ports (USB-A, microSD, and others), and connect PC peripherals like mice, printers, external hard drives, and more.
When your computer enters S5 (also known as “Soft ... Chances are that the power from the Thunderbolt port has an issue, and without which, the connected device doesn’t work properly.