You can customize the permission for ngrok.exe file to run in "protection history -> threat blocked -> Severe -> action -> allow" and the problem will be solved. I think this is a silly trick of windows 11.