Samsung devices ship with a locked bootloader. You must unlock it to flash custom files.
However, rooting a device can also:
: Once rooted, the device will no longer receive official Samsung firmware system updates. j260f root file