USB-C/Thunderbolt Dock Megathread

Hi, I bought a Lenovo ThinkPad USB-C Dock Gen 2 (model number LDC-G2 revision A1) , but when the laptop is charging from it, it makes weird electrical noises and disconnects from the dock after a minute. I tested a dock built into a Dell monitor and got the same result (I tried the original USB-C cable on both docks and the one that came with the laptop. I also tried plugging the cable directly into the motherboard (through the USB-C expansion card), but to no avail. However, if I do not charge it from the dock (using the charger), everything is fine. But it kind of defeats the purpose of having a dock in the first place.

I have a Framework laptop 13, 12th gen with the i7-1260P and is less tan a year old