Hi there,
Sorry that you cannot save your files in Photoshop 22.1 on your computer.
What is your operating system version and where are you trying to save your files? Please note that the problem your are facing is a known issue with Photoshop version 22.x and our engineers are working towards a fix.
In the meanwhile, would you mind checking the workarounds and troubleshooting steps mentioned in this article https://helpx.adobe.com/photoshop/kb/program-error-opening-psd.html#Programerrorwhilesavingfiles and let us know if that helps?
Thanks,
Akash