You can either use Google's Find My Device or a third-party unlock tool to bypass a lock screen without a factory reset.