The vehicle is designed not to lock when the ignition is on, even if the key is not present within the vehicle. To switch the ignition off, briefly press the engine start/stop switch.
Did this advice resolve the issue?