Samsung:
In download mode use the "Reset FRP Lock - New" button.
In download mode use the "Reset FRP/Reactivation Lock" button.
Huawei: