After booting, install a third-party keyboard driver (available on the XDA thread for the specific build). You will likely have to set the keyboard input method to "Generic Physical Keyboard."
While LineageOS is a great alternative to stock Android, there are some challenges and limitations to consider: blackberry key2 lineageos