I believe it's something like this. I did it once...
unlock the doors. get in. put the key in the ignition. turn it to the on position and hit the lock or unlock ( doesnt matter ) within five seconds. Turn the key to off. Repeat until you hear the door lock mechanism.
If that's wrong, dont blame me I did it once and was a while ago.