This is occurring in the most recent version. When you accidentally nudge a locked layer, the error dialog appears stating "Could not complete your request because this layer is locked."
Cool, I dig that, I misclicked or did something dumb.
Here's where it gets interesting. Every time you do this, Photoshop now opens a little floating transparent window and attaches a "coordinate box" to it. But the kicker: you can't close it. It floats above your image and exists in its own panel or window; when I show desktop and open applications move off-screen, these coordinate boxes move independent of my workspace. Better yet, if you repeat the invalid nudge, additional coordinate boxes appear. They are also selectable by the MacOS screenshot tool as their own windows.
Further, once you've created one of these little coordinate boxes by accident, layer previews stop functioning/updating, so all layers look appear blank. This is the worst part.
The only way to fix this is to quit Photoshop and reopen it.
Video link attached and can also be watched here:
https://www.youtube.com/watch?v=SKeJINzEf9o