The trick is to to find real locksmiths, with a real storefront, preferably ahead of time. If you just Google emergency locksmith and your ZIP code or location, all of the top results will be scammers in unmarked vans. This is an old scam, it's got its own Wikipedia page:
https://en.m.wikipedia.org/wiki/Locksmith_scam
There's been some reporting about these fake listings on Google maps: https://www.cbsnews.com/news/google-maps-fake-listings-lawsu...