The first application i ran was ProcessExplorer https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer ,that way i can see what is going on, also i can do many tasks like kill the Windows Explorer and start it again, this like a rule of thumb for me, as this application most likely went through Microsoft testing also being used by millions, and followed the best practice to the letter.
After it worked fine, and i failed to reproduce your black screen, tried few other application with GUI and console and no problem too.
So try with it for easier get out of locked desktop.