For modern Xperia or legacy Sony Ericsson users facing this patch:
Relocking a bootloader is possible but dangerous if not done correctly: se bootloader unlocking relocking 1662 patched
: While modern devices like Pixels or OnePlus allow for relatively safe relocking with custom signing keys, older Sony devices are far less forgiving. Relocking a bootloader while a non-stock kernel is present on these patched models is a near-guarantee for a hard brick For modern Xperia or legacy Sony Ericsson users