To see if it's a physical problem within the keyboard, you may run some [https://www.minitool.com/news/laptop-keyboard-not-working-004.html|tests] using the Windows Onscreen Keyboard which you find in the All Programmes menu under Windows Ease of Access.
Otherwise go back inside and check the tiny ribbon cable hasn't become loosened at both on the motherboard and the keyboard ends.