Random freezing

Lately, for no apparent reason, the desktop freezes and I can’t even switch terminals.

What happens is that in the main monitor gnome freezes while in the second monitor a video (youtube or twitch) keeps going and the audio goes too.

I try to change terminals and I can’t. In order to regain control over the pc the only thing I can do is to force a hardware reboot.

What can I check (what logs) so I can figure out what’s going on?

Maybe this is the same as described here: Consistent screen freezes after upgrading to F42