@hj96: I'm sorry to hear that you're experiencing this issue. Please can you try heading to Settings > Apps > Camera > Force Stop > Storage > Clear cache, then restart your Galaxy S22 Ultra. Now, head to Settings > Battery and device care > Optimise now, followed by Memory > Clean now. I would also recommend heading to the Galaxy Store > Tap the 3 line in the bottom right > Updates, and check for any available updates for the Camera app. Similarly, head to Settings > Software update > Download and install, as well as Settings > Biometrics and security > Security update, to ensure you're on the latest software.
If the issue persists, please can you confirm if you're using a particular mode in the Camera app when the phone freezes? Also, does the app restart, or is the phone restarting?
Couple of times already had exactly the same issue - started happening recently (few weeks ago). First time it just restarted during the cellular call, while today it first froze for some 10 seconds (phone became completely unresponsive - no reaction on touches or button presses) and then restarted, when I attempted to call someone via cellular network. What is interesting that the call that I attempted to make did not register as an outgoing in the list of last calls.