Yes you can relock it by flashing stock rom. But keep in mind that the firmware you are flashing must be higher or same build of your phone current firmware build.
I have flashed stock rom without doing factory data reset on stock recovery. I was previously on a custom rom. I am facing no errors. Will any errors occur in future??
Pls upload the factory image file XT1550_OSPREY_RETASIA_DS_2GB_6.0.1_MPI24.107-55-2-12_cid7_subsidy-DEFAULT_CFC.xml.zip
Because I want to lock the bootloader but I have updated the system to MPI24.107-55-2-12
Can I flash official stock rom on top of official stock rom without doing factory data reset??
And also if I skip the commands to clear user data or cache etc will any errors occur??