A 24-year-old Tooradin man was charged with attempted theft of motor vehicle.
He locked himself up in an attempt to steal a BMW in Baxter on Monday 16 October.
The owner of the BMW drove to a petrol station at the corner of Grant Road and Lower Somerville Road for dim-sims around 11pm.
He peeked up at the security camera display and noticed the door of his vehicle being opened on the monitors when he was up to the counter to purchase his snack.
The man sprinted back to the car, startling the alleged offender who quickly locked himself inside the vehicle.
Despite gaining access to the vehicle, the car thief was stopped in his tracks as his efforts to start the car fell flat.
The would-be thief elected to remain in the car and wait for the police to arrive rather than risk challenging the owner or making a run for it.
The responding officers arrested him when they arrived at the scene.
The 24-year-old was bailed to face Frankston Magistrates’ Court on 14 November.