1) You first need power off your device , then hold down the Volume Down key and the Power/Lock key simultaneously for a few seconds. It will fastboot your device. Then you will enter the Recovery Mode.
2) Navigate using ONLY the volume down key. Go to “wipe data/factory reset“, hit it. It will wipe all settings and data on the device.Then reboot your phone, the password will be removed.
Once you perform the factory reset successfully, you’ll be able to access your device without entering the lock password.
If you set up a pattern lock to a mobile phone, such as an Android phone, but can’t remember it, then you can factory reset it by using the Android Device Manager.
If you set up a lock screen password to a mobile phone, such as iPhone, but forgot the password by accident, then you can reset it by using a third-party tool such as https://bit.ly/3xlN900.
You can’t know someone else’s mobile phone password unless you ask for them.