Hello Aimen,
Welcome to Microsoft Community.
According to your description, more than one key is incorrectly associated with a function, right?
To better identify this problem, I recommend that you perform a clean boot on your system. By performing a clean boot, this is a mode of disabling third-party services or software, which could help rule out the interference of these elements.
Disclaimer: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background program is interfering with your game or program and to isolate the cause of a problem.
These steps of "clean boot" might look complicated at first glance. However, to avoid any trouble for you, please follow them in order and step-by-step so that it will help you get you back on track.
After performing a clean boot, check to see if the problem persists.
If the problem is not resolved, you may need to reinstall the keyboard driver. Visit your computer manufacturer's website and you should be able to find the corresponding driver. You didn't tell me the specific brand and model in this thread. If you can't find it, you can also consult after-sales support to get it.
In general, reinstalling drivers should be the most direct recovery method, because the reinstalled system may be missing these drivers.
If anything is unclear, please do not hesitate to let me know.
Best regards,
Mitchell - | Microsoft community support expert from MSFT