When you apply 2 step authentication on your Yahoo account, it generate a unique account key on your mobile device. If you loss your phone then you need to buy same phone number to access Yahoo account with security on new phone. If you want to know more, visit the given post. Switch 2 step verification on new phone