I had an extra key made for free when I bought my car used - as the second key was missing.
From what I understand there is a timing delay of like 45 minutes built into the ECU that you need to wait before the PATS system is ready to accept the new key.