Not sure how this worked out... but...
You can close the door of your car with the lock engaged, and not get it all the way closed.
If you are able to do that, there will be a small crack that the snake might be able to exit. You know how great garters are at slipping through small spaces!