If some keys stop working, find out if it is dirt, software or a broken keyboard.
1. Restart the laptop.
2. Plug in a USB keyboard. If it works, the laptop keyboard itself is the problem.
3. Check the keys in the BIOS or setup screen. If they don't work there either, it is hardware.
4. Blow out crumbs under the keys with an air blower held at an angle.
5. Gently lift a stuck keycap with a plastic pick and clean under it. Don't force the small clips.
6. If a row of keys stopped after a spill, the keyboard membrane is damaged and needs replacing.
Many laptop keyboards are sold for each model, and some are riveted to the top case, which makes the job longer.