Thank you for testing those steps and providing additional information.
If your external keyboard works, then it means your laptop keyboard has a hardware problem that needs to be fixed by a technician. You can either take your laptop to a repair shop or contact the manufacturer for warranty service.
In the meantime, please run more troubleshooting steps to check if it's related to incorrect language settings, faulty drivers, or hardware issues. Let's test:
Check your language settings, check my grammar only:
> Settings > Time & Language > Language.
> Under Preferred languages, make sure your desired language is selected. If not, click Add a language and choose the one you want.
> Click on your language and select Options.
> Under Keyboards, make sure your keyboard layout matches your physical keyboard. If not, click Add a keyboard and choose the correct one.
> Restart your laptop and test.
Update or reinstall your keyboard driver:
> Go to Device Manager.
> Expand the Keyboards section and right-click on your keyboard driver.
> Select Update driver or Uninstall device.
> If you choose to update, follow the on-screen instructions to search for and install the latest driver.
>If you choose to uninstall, restart your laptop and Windows will automatically reinstall the driver.
> Monitor if issue persists after restarting.
If none of the above steps work, your laptop keyboard may have a hardware problem that requires professional repair or replacement.
John J.D.