Sounds like your laptop is running too hot while your gaming and is being "throttled".
Basically, your cpu/graphics is overheating and is forced to slow down to protect itself from damage. Thus when it's back to safe temperature, it runs normal again. So the cycle of running normal and lag occurs.