Hi Eldar,
I'm Sumit, here to answer your query at the Microsoft Community.
The file you were trying to open had malware, apparently which turned off Windows Security. To fix the same, see the steps by Glen in the answer below:
https://answers.microsoft.com/en-us/windows/for...
Hope that helps, and rely on us for any further inquiries. All the best.