Your computer might freeze due to the following factors.
- Memory, CPU, disk exhaustion.
- Windows is busy working on high-priority threads, spin-locks, waiting for an event, etc
- Device or hardware error.
- System Restore
- Run junk Cleaner
- Run windows Updates
- Uninstall Crap-ware.