It look like is hardware problem.
I saw this problem before. It was soda into the keyboard after it dry. The sugar static inside the keyboard.
if the same happen, you may need to open laptop to clear it.
Maybe your case is different. Need to see the laptop personal.