If you are holding the button down to lock the car, this triggers the Panic Mode, so don't do that. Just click the button on the fob and release.
If that was not the problem, try pressing the lock button twice in a row. This disables the interior motion sensor alarm which may be the problem...