Can't turn off auto optimization on S23

Wait 5 sec.

I have a file folder that is being altered without my permission and deleting my files once they hit around a month of age. I have good reason to think that this is caused by the Auto-Optimization setting on my phone. However, it is apparently impossible to turn this setting off. Is there a way to tell my phone not to delete items in certain files? This is really annoying.