I have no idea about the above posts.
I would think, as I have run into it, that most of these issues occur because people click and allow the ransomware further access to their system.
If I ever run across it, simply take your hands off the keyboard and manually turn off the computer using the power switch.
Your computer will ALWAYS start up as normal once shutting it down.
There is the possibility that the browser itself might be infected, you can always switch to a different browser, do malware scan if you wish, bleachbit your brownsers too.
Im no expert on this issue, been computing for decades now plus 3 kids now adults, always instructed them, DO NOT click, turn off the power button or your screwed. Doesnt mean it will work for everything, but has worked for us.