Hello Baidonglin,
The LIN is the communication line as the other as CAN, SCI, BDM…
So first you need to have implemented the LIN Bootloader in the MCU’s FLASH. The during RESET activate the Bootloader which will download your code file into FLASH memory.
For more information I would like to recommend you the new version of the AN for Bootloader:
https://www.nxp.com/webapp/Download?colCode=AN12086
https://www.nxp.com/docs/en/application-note-software/AN12086SW.ZIP
I hope it helps you.
Best Regards,
Stano.