If you don't mind me asking, what are you burning, and what is your OS, basic computer setup?
I have had the same problem before, it has ranged from the burner being faulty, to the media, or the the computer having a CPU overheat.
Does the PC start right back up and operate normally after this locks up?