How to Program BMW Door Locks
1. Close all the doors and the trunk.
2. Open the driver's-side door, and get in the car. Shut the door.
3. Put the key in the ignition.
4. Turn the key from the 'on' position to the 'off' position five times quickly without starting the engine.
5. Pull the key out of the ignition.
6. Press and hold the 'unlock' button on your remote.
7. Press the 'lock' button three times while continuing to hold the 'unlock' button.
8. Release the 'unlock' button. Once you've released the button, the door locks will begin to cycle, indicating that the remote has been properly programmed. If this does not happen, begin again from Step 1.
9. Put the key back into the ignition, and turn it from 'on' to 'off' once more to set the remote programming.