This solution has the virtue of working on any phone: All Android phones support this sort of factory reset. If unlocking your phone with biometric security isn't viable, then your next best option may be to perform a standard factory reset, which requires pressing the power and some combination of other buttons. Unlock an Android phone using factory recovery If so, you can bypass the passcode and unlock your Android phone without any fuss.
It's possible the phone has been set up to recognize your (or another family member's) face or fingerprints. This may seem obvious to some, but the first thing you should try after charging your locked phone is to see if it has been configured with any sort of biometric security. Unlock an Android phone using your face or fingerprint