I pulled my vehicle into the driveway and stopped outside of the garage. I stepped out to fold my mirrors on both sides of the vehicle as the garage is very narrow. I also need to unload my belongings from the rear hatch. I walked around to the Right side mirror, folded it and headed to unload the hatch when the vehicle PULLED ITSELF INTO THE GARAGE; literally! I could not open the doors as they lock and the space is so narrow. The vehicle stopped when it hit the back wall of the garage. I immediately opened the door and turned the vehicle off. The Vehicle sounds an alarm and shows the message "Shift to park" if not in Park. This did not happen. I sat in the car putting my sunglasses away and unplugging my phone before exiting. If I had not put the vehicle in Park, I would have heard and seen the warnings immediately and the car would have moved immediately; not 30-60 seconds after exiting. Note: our driveway is flat