Files being deleted and locked out

I’m a software developer.

I have had problems repeatedly where files disappear and I can’t replace them because the file name is not possible to be written on.

This has happened to .bat scripts as well as executables that I wrote or that were developed by other professionals such as individual Cygwin files.

How do I avoid this problem in the future? How do I un-lock the file names that can’t be used any more?

Nothing shows up in my virus checker.

Will the problem be solved in the future if I turn off “reputation services” and “cyber capture” and “Scan for potentially unwanted programs.” I already had “hardened mode” turned off.

See >> software developers >> https://forum.avast.com/index.php?topic=14433.msg1289438#msg1289438