Even Microsoft's own attempt at producing Ransomware protection is next to useless.
If you turn on Protected Folder Access (PFA), expect numerous legitimate programs to stop working. And it's not possible to allow exceptions for them without rendering the protection useless.
Why? Because, some programs call Rundll and so do various flavours of Ransomware.
The last time I looked, PFA only allows exceptions by executable.