Laptop keyboard is failing, okay well warranty would be best solution or buy a USB keyboard and plug that in all the time. Realistically if you spilled a drink, crumbs, smashed it too hard, whatever then yeah this will also void the warranty. Your only other solution would be (if neither suggestion works for you) to hire a tech that can buy a replacement keyboard, know how to take apart the specific model laptop and swap out the keyboard (basically what your warranty work would do at thier factory).