Method 2 Turn your device off, if it has a bixby button then press these three buttons at the same time, power button up at the same time volume button down whilst holding the bixby button, if its only the power button & volume button then press power up whilst pressing the volume button.
That will take you into the menu to factory reset your device.
Hope these options help.