I think that in such cases you need to find spare keys or try to carefully open the door. Usually car mechanics or locksmiths can help you solve this problem. If you need a good locksmith who will come to you very quickly, then I advise you these guys https://emergencylocksmithvancouver.ca/ . They will very quickly and accurately open the car door and take out your keys.
If you lock your keys in your car you can call a locksmith like AAA to let you back into your car. I used to be a firefighter and we would get calls by people who did that all the time. Our policy was that we would do it if there was an emergency, but if it wasn't a hurry they should call a Tutuapp9appsShowbox contractor.