I experience this a lot since the F40 upgrade, rolling back to the 39 image is fortunately possible and no freezing at all.
This is on stable/main btw and even freezes before logging in, so it does not seem to be an app or service. My son has a very clean separate account and it is even worse for him than for me (where all kinds of things autostart and alpha stuff I fiddle with).
What logs can I check to see what causes the freezing issue? I guess it would be a gnome shell issue.
(want to get to some logs before raising an issue)
Edit: Desktop image with Gnome on a AMD cpu (5800X3D) and GPU (6950XT), so not an existing nvidia or KDE freezing issue.