Your mother should have done these things before giving you the phone:--> What to do before you sell, give away, or trade in your iPhone or iPad - Apple Support
Unless you have the account information that set the lock, or the original receipt from Apple, you cannot remove the lock. Read this article about how to remove Activation Lock --> How to remove Activation Lock - Apple Support
● Help with a lost Apple ID or password:
• For help with a forgotten Apple ID (this is likely an active email address or one used in the past), click here --> If you forgot your Apple ID email address or phone number - Apple Support
• For help with a forgotten Apple ID password, click here --> If you forgot your Apple ID password - Apple Support
● Reset device if she can prove to Apple's satisfaction she is the owner:
Apple can completely reset a device if a person can provide sufficient evidence of valid ownership. This is done online* at: Activation Lock support request - https://al-support.apple.com/#/additional-support Apple says, "Proof of ownership documentation is required," but does not provide many details in the article as to what is acceptable proof. Prior to this official service Apple typically required the original receipt** issued by Apple or an Apple Authorized Reseller and documented provenance (so typically it would be the first owner who does this, or a descendant with legal proof of ownership transfer). Note that while this will let you get use of the device again, it will not help you with lost access to an account.