The long existing ability right-click a file or folder and choose “Resotore Previous Versions” won’t work - says there are no previous versions.
There are, using a tool from Nirsoft, Shaodw Copy View - there are many of them and files are restorable.
This topic is on many websites, and none of them resolve the problem.
Maybe you’re using Bitdefender under the hood - they’re the only other AV that also shares this “Feaature”.
This has to have a change of design or way to unblock it and allow it to work.