I had an Xperia Z3 Compact from Sony and it had this same restriction. Much of its camera functionality (including de-noising) was DRMed and if you unlocked the bootlader it would delete the keys. No way to restore them.
Unlike the Z Fold 3 it doesn't kill the camera completely, you end up with a lower quality camera without its post-processing features but it's still usable.