Some keys of my keyboard have been automatically mapped wrong

I installed Zorin 18 core yesterday evening. The keyboard seemed fine then. Today, a bunch of keys have been mapped wrong and doing something else completely.

To my knowledge
Esc doesn't work
4 -> Sleep
P -> Pause
S -> Alt + PrtScr (Takes a screenshot)
K -> ScrLk
B -> Ctrl + Pause

I haven't mapped any of these, and these are not shortcuts in the "Keyboard Shortcut". The keyboard doesn't work properly in BIOS too.

I know for sure that "4", "P", "S" were working fine yesterday after installing the os. I've installed Chrome from the official site today.

Please help

Edit- This is probably not a hardware issue as the keys work properly something, usually for a while after turning on the laptop.

I have been troubleshooting through chatGPT. It says that the zorin installation corrupted the EC firmware. It has asked me to flash the lenovo BIOS update (linked below) and boot it up. But when I select the drive in the boot menu, it loops back to the loop menu again.

https://download.lenovo.com/pccbbs/mobiles/jduj20wd.iso

Welcome to the Forum!

What Keyboard-Size do You have? 60%, 65%, 75%, TKL, Full? And what Keyboard Layout did You choose during Istallation and what is chosen now in Settings>Keyboard?

The laptop is a Thinkpad L450. I believe the keyboard is of 75% size. The keyboard layout is (and was) English US.

The mousepad also stops working randomly now. The keys work, but not the pad.

The keys (and mousepad) sometimes work properly (mostly the mousepad), especially after I start the laptop after a while.

You can try to switch to Xorg. Logout and at login click on your username then a cog wheal appears at the bottom right corner. There select Zorin Desktop on Xorg and login with your password. See if it makes a difference.

If you have a Dualboot with Windows make sure that fast startup in Windows is disabled at energy settings.

That is more of a worry as BIOS is independent of any Operating System.
What is keyboard doing wrong in BIOS?

The keys just don't work (probably cause the commands don't work in bios).

This is probably not a hardware issue as the keys work properly something, usually for a while after turning on the laptop.

I have been troubleshooting through chatGPT. It says that the zorin installation corrupted the EC firmware. It has asked me to flash the lenovo BIOS update and boot it up. But when I select the drive in the boot menu, it loops back to the loop menu again.

The issue didn't fix with xorg.

I don't have dual boot.