Another poster had a similar situation where it was not responding within the task manager, see here especially the end where he figured out what was causing this for him.
I’ve dealt with similar random freezes, and in my case it came down to GPU drivers and background apps clashing with the game. Try disabling overlays (like GeForce or Discord), running in windowed mode, and checking for thermal throttling. Also, verify game files and keep an eye on Event Viewer—often the crash logs point to the real culprit.