As a workaround, until apple resolves this fundamental issue.
I open System Preferences > Display
Then when the option presents itself on the second screen, I choose between scaled and one of the options and it brings the windows back. then I default to what setting was there before.
This is of course a pain because every time you lock the laptop, the windows gets hidden when unlocked again.