On Friday, July 10 at about 5 PM I was parking in front of one of my favorite restaurants in my new Jeep Wrangler. When shifting going to complete.the park job the gear shift locked the engine began revving and the vehicle lurched forward. I applied the brakes got push back the tevving increased the vehicle lurched forward again. I re applied the brakes the revving increased the shift was locked and I lurched forward impacting the rear of the car in front of me parked. The throttle then released I was able to shift to park the revving stopped.