It doesn't sound like a mouse issue, it sounds like the computer is locking
up. take a look in the Event Viewer and see if there are any issues at the
time that your lockups are occurring.
If not, it may be a hardware problem, like something overheating, for
instance, so that the computer locks before anything can be written to the
log.
It could also be software related, but without a few more clues, there is
little advice that can be given.