‌‌

How can I perform a factory reset and wipe my phone's data?

Navigate to Settings > System > Reset options > Erase all data. This will perform a factory reset.