It's difficult to say from our perspective. Disk Utility has this dialog when I run verify/ repair on my Mac…
Your computer may be slow or unresponsive while the startup disk is being verified.
The progress indicator and status messages may not be updated until the verification process is complete.
Is it possible you are simply seeing the 'slowness' that always happens when you test a disk that is running the OS?
The term 'froze' is a little vague. You could mean that it was unresponsive for a few minutes - which is quite normal when testing a spinning disk, or you could mean that it 'locked up' became unusable & required a force quit or reboot - which is not normal.
If you don't have a backup make one, otherwise investigate getting a new disk if your computer has been giving you issues. Eventually all disks will die or have issues, so a backup (or several) is the only way to ensure the data is safe.
If you want to investigate it further please post more info - e.g. why have you been running Disk Utility? Is it to try to solve any issues?