If you are leaving the vehicle, take your keyless access transmitter with you, open your door and set the locks from inside or with the keyless access transmitter. Then get out and close the door.
The vehicle can also be programmed to have the doors lock automatically when you exit the vehicle. See DIC Vehicle Personalization .