Question: How do you reset a Samsung phone when it is locked?

Question: How do you reset a Samsung phone when it is locked?

Answer

Simultaneously press and hold the power button + volume up button + home key until the Samsung logo appears, then release only the power button. Release the volume up button and home key when the recovery screen appears. From the Android system recovery screen,
select wipe data/factory reset
.