Check your system logs such as dmesg and journalctl immediately after the freeze (if it’s still occurring). You could filter journalctl log to show, say the last 5 minutes since the last boot, like this:
journalctl --boot=-1 --since=“5 min ago” --priority=0…3