Its because windows 11 security if disable windows 11 security mean disable real time protection, its does not disable its work on background and scan memory hacker ui even other programs wants to change anything its popup security threat and block. now you need to moveback to windows 10 i recomend you to install these windows version
window 10 1903 1909 20h2 20h1 1809 x64 pro
if you want to use win11 then install avast anti virus and then disable it permanently.