Hello, I only have 1 set of keys for my car, and today I made the mistake of locking them in my car. Luckily my girlfreinds father is a cop and he broke into it for me. I've been wanting to get a spare made and just have been putting it off but that was a wake up call. I talked to the locksmith and he said it was a coded key? He said I would have to get it from a Mazda Dealer. My questions are, will a key copied by a locksmith work on my door locks but not the ignition? And how much do the keys at the mazda dealer cost?