I have really special needs for my multi-monitor setup on Windows 10. Depending on what I'm doing, I use 2 to 3 monitors.
When I'm working I mostly use 2 monitors - one for coding and the other for displaying the results. This means I focus on only one monitor at a time. So I would like to completely shut down (as when you disabled it from system settings or unplug it) the one which is not focused - which doesn't contain the working and focused window. Windows Key + P doesn't work, as it is really annoying to use because: 1) it migrates all windows to one monitor, usually making a mess of your setup; 2) it can have trouble when dealing with different resolutions, which is my case (I have a monitor constrained to 1600x1200).
When I develop in my free time, I often have 3 monitors. One is set to some kind of video (be it a tutorial I'm following or Netflix if I'm doing something really repetitive) while I work on the other ones, which should behave like described above. In this way I will have 2 active monitors - one reproducing a video and one focused - and one completely shut down.
Is there an app that allows to do this? If not, I have programming skill in C/C++ and, to a lesser extent, in Java and Phyton and a basic understanding of OS, so can you point me in the right direction to write something that would solve the problem?