Smack it around a bit, let it know who's boss
Works for me
Or try to pry up the spacebar and hope it's meant to be removed
As a last resort you can look for a replacement keyboard, you can get 'em off Amazon if you search "[laptop model] keyboard", I had to do this when I literally fried mine