Unlocking the bootloader will factory reset your phone and erase all data.

Rooting Samsung phones permanently "trips" the Knox security bit. This voids your warranty and permanently disables features like Samsung Pay and Secure Folder.

Rooting Samsung devices running Android 10, 11, or 12 does not use a single "universal" file; instead, it requires a specific process using to patch the device's official firmware . This method is applicable to most Samsung Galaxy S, A, M, and Note series. Essential Preparation