It took me a while to figure this out, but when you set the latest Opera GX as default browser in windows 11 when asked by opera, it will brick your windows. Explorer.exe will cease to function and after a reboot, you will be greeted with a black screen + mouse curser after logging in.
removing opera GX in safe mode fixes the issue.
This should be investigated. I was able to reproduce this bug twice.