Here we will guide you on how to restore the OnePlus 6 back to stock and relock the bootloader.
OnePlus 6 users are open to any kind of customization, you can unlock the bootloader or install root or any custom firmware without worrying about the warranty. Unfortunately, unlocking the bootloader and using root to modify the firmware on your OnePlus 6 makes it hard to update to a new firmware with the latest security patch to save you from vulnerabilities and malware. If you try to revert back to OxygenOS stock ROM, you will get the stock ROM OTA regularly with a security patch. Reverting your OnePlus 6 to stock in order to update it to the latest OxygenOS version can end up bricking your phone if done incorrectly. Here we have given proper instructions on how to restore the OnePlus 6 back to stock rom and relock the bootloader easily.
Also Read

One of the best things about this device is its developer-friendly OEM as compare to other devices. Well, the fact is OnePlus has paid special attention to this. There are many tasks or customization that can only be performed with an unlocked bootloader. Although it can easily be done, the fact is it makes the device warranty gone. You might have no idea but it is possible to restore OnePlus 6 to Stock and Relock Bootloader without doing much.
Where are the files?