Okay. If the engine keeps running when you switch the vehicle off then the PCM is not getting the turn off signal. The most likely cause is the ignition switch is faulty. I attached the process on how to replace this with a Chevy Aveo which is a very similar model here in the states.
Clearly it is not going to be exact but it should be similar.
The way to confirm this is the issue is to hook up a scan tool that can monitor the PCM signal from the ignition switch and see what the PCM says when you turn the key off. Clearly it should show you that the ignition is turned off. If it stays on then the PCM is not getting the switch change.
Images (Click to make bigger)
Wednesday, April 1st, 2020 AT 5:16 PM