What laptop is it? Does the keyboard and display work to get into the BIOS/UEFI Setup? If yes, see if there's any unknown devices in Device Manager, if there are, those may well be what's causing the built-in display and keyboard to not work in Windows. It is possible those two items require their own drivers.
For instance, in earlier versions of the Windows 10 and 11 installation media, the touchpad and keyboard for Surface Laptops did not work as the required drivers were not present in the installer (thanks Microsoft).