Also in the task manager, right click the task bar then select task manager or ctrl+alt+delete then task manager or winkey+x then task manager.
You can see which app or service is using most of the CPU cycles.
Sometimes the freezing issue can be attributed to the indexing service hogging up 100% of the CPU. You can stop that service in the task manager via the services tab then navigate down to wsearch -> right click it -> then stop.