humm
ok not sure , see if you can borrow a usb keyboard from a friend plug it in and try it if it works grand theres issues with inbuilt keyboard on laptop , pc repair shop should be able to replace it
if the same issue shows up then it sounds like software issue maybe reinstall keyboard drivers