As MrHoffman told you, you will find that there's no good way to bypass the Activation Lock. If you cannot unlock this phone properly, it will remain a "brick."
Should your family member remember their credentials – or have proof of original purchase that is satisfactory to Apple – this is how they should prepare the phone before giving it to you again. Successful completion will cause the phone to display the "Hello" screen again, so you can set it up under your Apple ID.
What to do before you sell, give away, or trade in your iPhone or iPad - Apple Support