Windows 10 has been pretty stable for me, but within the last 2-3 weeks I have noticed that under some very specific conditions (which I have not identified yet), the Antimalware Service Executable seems to go haywire and lock up CPU for about 10 minutes before it releases the process back to the computer.
During this lock up time, the system never freezes but is barely usable. My rig is an i9-9900K with 16GB of RAM so I'm usually nowhere near max hardware utilization.
My guess is this was brought on by a recent Windows Update but I am not sure which one.