Can I get my car key dublicated if the electronics don't work? 2018 Ford Escape SE
​
I took my car key to the beach today in a waterproof bag that apparently wasn't good enough. In the past I've triple protected it with a plastic bags and tissues and it came out fine, but I forgot to do so today.
Can I get another key made, and/or this one fixed, at a locksmith? Would it be cheaper than the dealership?