BMW Questions? Ask a BMW Repair Expert for Answers.
holding the remote button is not the only way to open all windows and sunroof
turning and holding the key in the door will also do this
the common cause of this happening inadvertently is a fault with the door lock switch. when you locked the door manually, you likely corrected the problem.
if it happens again, you should have the drivers door lock replaced.
Please let me know if you have further questions. Please do not forget to click a positive rating as this is the only way I receive credit for my answer, thank you. Best wishes with your vehicle.