Hello,
In my experience, the computer may automatically encrypt itself after some system changes or hardware replacement.
The only solution in this case is to reinstall the system or you can try to enter safe mode to restore the point in time.
Have a nice day.
Best Regards,
Hania