If you have Ford after 2017 and all keys lost, using one OBDSTAR X300 DP PLUS V32.41 to program new keys are the best solution (no need pin code).
OBDSTAR DP PLUS V32.41 test reports:
* All not need pincode.
How to use OBDSTAR X300DP PLUS to program Ford 2017- all keys lost?
Smart key System.
Car model selection. i.e Explorer.
All keys lost.
Switch ignition off.
This function is available by connecting the server, please ensure the internet connection is normal.