What you are describing is usually referred to as 'A computer freezing' or 'A computer crashing'. I am sorry but I'm not one hundred percent sure which is more used in America or England, however I have probably heard them both equally on both sides of the pond. In worse case scenarios, when this happens, a blue screen will appear.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.