Windows Antivirus detects as malware

Hi, i take notes about cybersecurity and hacking.
Some of my files contains piece of codes with payloads.

Windows antivirus detect this notes as malware, and dont let me write on file.
As I write, appears a message in the top-rigth that says: “Error saving file. EINVAL: invalid argument, write.”

I’ve tried to exclude the file in antivirus options, but didnt work.

Any idea for evade this without permit the entire risk in windows antivirus?

I’d recommend a web search for something like this (if you haven’t done it yet). This is Windows Defender catching the file content, not Obsidian.