Have you tried the emergency unlock procedure?
Go to the passenger side and turn the key while lifting the door handle. It should unlock. If not ... I guess you're either gonna have to break something or pay someone to break into your car (which is easier said than done on a BMW). If you double locked the car, breaking in is not an option, and you will have to break glass somewhere.