Dell 3521laptop. The keyboard stops working after ten to twenty minutes of use.
Try a USB keyboard. If it works, replace the internal keyboard.
It works from usb.Now I use it so that when the keyboard stops, then the display closes and after opens, thereafter it works for about an hour.