Are you running /e/OS. Do you know the version you were running [HOWTO] Give complete /e/OS version info easily for support, answers, comparison etc.
You might hope to repair by adb sideload
Unusual in /e/OS as locking the bootloader does not appear on the install page Install /e/OS on a Motorola edge 40 pro - “rtwo”.
Can you recognise e-Recovery? Is the message coming from e-Recovery? If not please can you show an image.