I ran into a similar problem with an HP 15 dy4013dx laptop. Intel i5-1155G7. Came with win11 and I setup dual-boot. Turned off secure boot. Did a BIOS upgrade.
No keyboard issues with windows, of course. But on bootu-based, fedora, manjaro dists, the keyboard would not work at the login...