Ok one step after the other
Is OEM Unlocking enabled or not?
Because you write
However you still try to enter the unlock code? If you still need to enable, is the FP conected to internet, thats required.
Edit: not sure you need the code as you are on e/OS…
Edit2: as a precaution warning: be super carful when re-locking the bootloader to not brick the phone