I have Lenovo Thinkpad T480s and Think Pad Thunderbolt 3 Dock connected via thunderbolt 3. The docking station has two external monitors connected via display ports. I have installed KDE neon. The docking station and the laptop usually always connected. When I unplug the docking station everything is working fine, but when plug it back the UI freezes and only reboot can help. I believe the problem is somewhere in the graphical stack, because when I switch to virtual console and do the same everything works as expected.
Some logs: