Hello,
1. can you provide a lockcore sample?
Do you mean lock step programming example?
The S32K348 has dual Arm Cortex-M7 cores, but they are not automatically configured in lockstep. By default, they run in asymmetric or symmetric multiprocessing mode.
To switch it to the lockstep, you will program the DCF record - UTEST_MISC[LOCKSTEP_EN].
See the DCF clients file attached to reference manual document for more information.
For programming you can use this example in the thread: C40_Ip_Example_S32K344.zip
2. how can i verify the function ?
You can check in the Read-Only GPR On Functional Reset 19 (DCMROF19) register.
DCM_GPR base address: 402A_C000h
DCMROF19-offset 348h

Best regards,
Peter