Try removing and reattaching the keyboard. If you know your model and stuff you can just use an online guide to get help to do so.
Also though this might not actually be useful but I think windows login screen has a virtual keyboard option where the mouse can be used to type.