Do you have a pet in the car? Or under it?
How long did you have your car?
Has it happened before?
Did you talk to your Dealer?
If it's still doing it, push the button to disable the motion detector (in the button bank under the radio) before locking your car and that'll give you some peace until you can have your car checked.
Hope it helps!