In some cases, you can unlock your Android phone without performing a factory reset by using Google's Find My Device service. If your device is linked to a Google account and has an active internet connection, you can remotely lock and unlock your phone using the Find My Device website. However, if your phone is not connected to a Google account, or if the Find My Device service is unavailable, you may need to perform a factory reset to regain access to your device. Remember that a factory reset will erase all user data and settings, so always back up your important files before proceeding.