This seems to be a common issues with some models.
You could try booting the live system by pressing TAB (BIOS/CSM) or e key (UEFI) and add the boot command (on UEFI its the linux line)
Then press enter (BIOS/CSM) or Ctrl+X (UEFI) to boot with this option.
Another fix can be applied only after install with adding the modules to load very early in the boot.
So creating a file with root rights /etc/modules-load.d/keyboard.conf with the contents
and running sudo update-initramfs -u should help and after the next boot the keyboard should work fine.,