If your goal is a factory reset and you can still navigate the phone's hardware buttons, use Recovery Mode instead of Download Mode.
Requirements and compatibility
If you reset your device this way, Google’s Factory Reset Protection will kick in. You must know the Google account credentials previously used on the phone to set it up again. samsung download mode factory reset tool