Hi, my name is Anderson Souza, I hope I can help you with your issue.
Plugging in an external keyboard does not always rule out a problem with the laptop's built-in keyboard. If you observe, both work simultaneously, so a problem in locking a key on one of them impacts the entire system.
There are some websites that can test if any keys are being pressed unintentionally, I personally like to use https://en.key-test.ru/
I have verified the address on the VirusTotal website and it appears to be a safe, malware-free website. But if you don't feel safe accessing the site, you can look for other options on the internet.
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.