Avast causes a blue screen error on my Windows 11

Hello, I have a subscription on Avast Premium Security. The error message of Windows is:

Stop code: DRIVER_VERIFIER_DETECTED_VIOLATIN (0XC4). What failed: aswARPot.sys.

According at what I have seen in internet it is associated to Avast antivirus. I tried to uninstall Avast, but every time I try to do it, that error pops up again and it doesn’t uninstall.

Any attempt to restart, normal or in safe mode, was impossible; the system would freeze and wouldn’t allow it, always displaying the same message I mentioned earlier. I had to reinstall the operating system. No more Avast; I’ve cancelled my subscription.