Was your project folder synced via nextcloud?? I had a similar issue arise with my projects folder being deleted and not in the trash bin etc, can only think nextcloud was the culprit as I had removed the folder from my server and default behaviour must be to replicate that removal locally.
I have had two Lenovo models as my last two laptops, including the one I’m on now which is a Yoga 9i. I have buyers remorse so much for both of these and stupidly got pulled in by low prices and a long list of features. They’re slow, unupgradable, both had issues where i needed to send them back for repair as they turned off randomly which was very frustrating with lots of lost work, and then lots of time without the laptop…
I think after thinkpads their overall quality has hit the pan
There’s 23 pages of people with these issues and very little support from Lenovo on this thread: https://forums.lenovo.com/t5/ThinkPad-S-Series-ThinkPad-Yoga-and-Twist-Laptops/Lenovo-Yoga-9i-keeps-freezing/m-p/5087025 And another 3 pages here: https://forums.lenovo.com/t5/Lenovo-Yoga-Series-Notebooks/Laptop-randomly-turns-off/m-p/3840927?page=3