Microsoft is expected to ship this final update in October, but if you can’t wait then you can go ahead and try it right now. At least that confirms that it's really the monitors going to sleep and not the entire system.
Windows Insiders can currently get access to this with build 21287 or above, but it does mean running a beta version of the OS on a device.
Microsoft has been working on preventing Rapid HPD from rearranging Windows apps, and a fix is coming in the big Windows 10 update that’s due later this year. It’s a giant headache if you experience the issue daily. Windows will then go ahead and move all of your apps onto another screen, and you have to drag them all back manually. This problem is particularly troublesome if you’re using a laptop with a secondary screen or an additional monitor goes into deep sleep and Windows thinks it has been unplugged. “This behavior impacts DisplayPort multi-monitor setups which results in unwanted desktop rearrangements.” “The technical terminology we use to describe this problem is known as Rapid Hot Plug Detect (Rapid HPD),” explains Michelle Xiong, a program manager on the graphics team at Microsoft. There have been a variety of ways to work around this over the years, but Microsoft is finally addressing it and fixing it in a future Windows 10 update.
If you’re a Windows user and you use multiple monitors, you’ve probably experienced the headache of apps randomly rearranging when you resume from sleep.