Yeah, I kept running into docking problems trying to keep the lid closed as well. It seemed like it worked less than half the time. Worst-case I'd have to restart. Sometimes it'd wake up with no mouse or kbd working, other times my dual 4K60 monitors would be switched left/right, many times just...nothing...
Pretty lame that one of the "best" laptop mfgs in the world can't make docks work right with one of the biggest CPU / IP mfgs in the world. Laptop sleep states were a problem back in the early 90s on Linux...some things really never change.