yea pain ,
not really suppose to use the locks on all these newer bmws , they will all break ,
you should be using the remote buttons on the key , and if they are not working get them sorted .
you can make a mess of the lock then turn the latch part with a screw driver .
so new lock and key will be required , or smash a window ?
try prying the top of the door open , use a plastic wedge , get a wire in there to pull the door handle or push the central lock button
can do a door glass $120 front or $90 rear , don't do the quarter glass (much harder to change)
call me if you like