When my laptop is docked and the lid closed, I see this problem: It is impossible for me to shutdown (without holding the power button until power is suddenly withdrawn from the system).
Running Debian sid with systemd-229-2. When docked, my machine uses the NVIDIA kernel driver built via dkms. I have no problem shutting down when either I leave the lid open on the docking station or when the machine is undocked. -- Thomas E. Vaughan