If you can't enter a code because you've lost your device, you can use Find Devices to locate it and Manage Devices to remove your Apple Pay cards from it.