If only certain keys on your Mac keyboard aren’t working, it could be because they’re damaged or dirty. You might have also enabled an option or application that changes the function of certain keys. For example, hitting Num Lock on the numpad will change what those keys do.