If you can't remember your lock PIN/passcode/pattern or can't get the fingerprint scanner to work (and can't remember your alternative password) ... if you activated Android Device Manager on your phone and associated it with your Google account, then you may be able to use Android Device Manager to unlock your phone. Otherwise, you'll have to do a factory data reset (and all your data will be lost unless you've kept it backed up somewhere).
The phone is already unlocked out of the box
Thanks! I was able to log on my google account and unlock it.
the reset on the s5 requires the lock code.