Hello, my name is Pavel, and I will be supporting your case, I reviewed your information, and the mode of Maintenance Mode sometimes is when the MK20 (debugger) of the frdm is prepared to update the firmware.
*So, this thread could help you the debugger on the board, to get out of the maintenance mode.
OpenSDA Serial and Debug Adapter | NXP Semiconductors
*The other part of the message from the JLink Commander mentioned is not possible to communicate via SWD with the target because is locked.
Readout protection is set, and mass erase is disabled. J-Link cannot unprotect the device.
The JLink commander cannot establish the communication, the MCU is lock, to get more details about the level of this will need to read the FSEC register, notice if the back door key is available to recovery the MCU, the other way the MCU could be stay in brick mode.
Here you can read more about the FSEC register.
Using Kinetis Security and Flash Protection Features (nxp.com)
Best regards,
Pavel