Hi SuperOmer123
I am Dave, I will help you with this.
You need some sort of security on your PC to stop malware infections, the only safe way to disable Windows Security is to install a 3rd party anti-virus.
if you are coding on your PC, Windows security will flag your scripts or executables, because it does not recognize your code.
The best option is to create a parent folder to contain all your coding projects, then in Defender, add that parent folder to the exclusion list, so that Defender does not scan your new scripts or exe's