Samsung device locked due to an abnormal factory reset, what can I do?

A

AC Question

Samsung device locked due to an abnormal factory reset

I have purchased a 2nd hand Samsung galaxy s5 online. it wont et me access the phone as it is locked due to an abnormal factory reset and is requesting a Samsung account id and log in - clearly I don't have one and it appears it needs to be the previous owners.
is there a way around this in order to access the phone?