Don’t forget to back up
Before you think about wiping your Galaxy S5, make sure you have backed up all of your precious files. You can back up basic data in Settings > Backup & reset. For the rest of your files you can use a backup app or service. You get 15GB of space in the cloud with Google Drive and there are many alternatives
How to factory reset a working Galaxy S5
Pull down the notification shade and tap the gear icon to bring up Settings. Choose Backup and reset listed under User and Backup and choose Factory data reset.
Double check that everything is backed up and then tap Reset device at the bottom of the screen. Tap Delete all on the next screen and wait for the process to complete and the phone to reboot. You’re done.
How to factory reset a Galaxy S5 using hardware keys
If you find that the touchscreen is unresponsive, there’s a problem accessing the menu, or maybe you forgot your pattern lock, then you can still factory reset your S5 using the hardware keys.
I am sorry i posted this answer accidently to your open question however i will open the question to other experts with yahoo password. You will get an email as soon as an expert replies to you.
To reset your Yahoo Mail password ***** you have forgotten the phrase or cannot access your account:
Yahoo Password ***** 1-***-***-**** Yahoo Account ...
Have you resolved this issue?