As LUKS unlock screen always uses en-US keyboard layout, entering the password might be difficult if you have a different locale. Before you had to manually edit /etc/dracut.conf.d/keyboard.conf & /etc/vconsole.conf. Since Fedora 42 you can just run the following command:
Set the keyboard layout to the french keyboard:
sudo rpm-ostree kargs --append=vconsole.keymap=fr
Replace an existing layout by another:
sudo rpm-ostree kargs --replace=vconsole.keymap=de
On new Fedora 42 installs, the locale is set correctly during install.