Quote:
It's a small hardware device which plugs into your pc/laptop. You then plug your monitor cable into the device. If that connection gets disturbed for any reason (monitor goes to sleep or is disconnected) the device continues to generate the EDID (Extended Display Identification Data) signal to the PC and the PC never realises the monitor is no longer there, hence has no reason to mess up your desktop layout.
The one I have works on HDMI and I am not sure if DP versions exist, but if you search for "EDID emulator" on the usual e-commerce sites you'll find soon enough. Expect to pay around 20-25$ or so.