How do I factory reset my iPhone 6 without passcode?

How do I factory reset my iPhone 6 with buttons?

Method 2: Hard reset an iPhone with Home + Power buttons
  1. Hold the sleep/wake button ( It is located on the right side of iPhone 6 / iPhone 6 Plus. …
  2. Hold them both until you see the screen go black. …
  3. Wait until the silver Apple logo appears.
  4. When this happens, you can let go – the iPhone is rebooting.

Can you factory reset a locked iPhone?

Another little tidbit in iOS 15.2 is that Apple has finally added the ability to erase and reset a locked iPhone or iPad, without first needing to connect it to a PC or Mac. This new feature is thanks to a new capability when the iOS device is in Security Lockout mode, after too many failed passcode attempts.