There are a few potential causes of a laptop freezing or lagging. A weak battery, an overworked processor, and a dirty keyboard are all common causes of a laptop freezing or lagging. To troubleshoot and fix these issues, you'll need to do some simple tests and repairs. For example, to test the battery, you could try turning off the laptop and then unplugging the power cord.