I had this problem recently with my 1990 BMW 520i after I left the lights on and drained the battery. The manual override lock position didn't work on either doors. I was able to unlock the trunk normally. The best solution I found was to use jumper cables attached to a non-running car and then ground the - (black) side to metal in my trunk and touch the + (red) end to the trunk light. The trunk light I'm referring to is in the center on the ceiling of the trunk and has a plastic cover that you'll need to temporarily remove. After connecting power to the light I could tell it was powering by the light bulb illuminating and I had a second person unlock the car. Apparently this method puts enough power in the system to power the locks. I didn't have any blown fuses or other electical problems after accomplishing these steps.
Remove the rear seat.
Then replace the battery.
If the battery goes dead flat the door will still unlock manually with the key.
Use the key to unlock it. The key is manually activated. Only the keyless entries will not work when the battery is dead.
battery cable connection , dead battery
Your battery is about dead .
Put the key in the door and turn.
Use jump leads from another vehicle or charge your battery on the car
with a brick
If you can not unlock them with a key, you will have to call a locksmith.
use key to manually unlock. manual unlock will not work.
By inserting the key in the door lock.