If you reflashed and locked using the wrong ROM (say a Global ROM on a China device), it may brick the device (I never flashed back the original ROM to confirm the exact behaviour).
(Obviously, your app probably won't work until you lock the BL, it is more an intermediate step to give you a chance to understand why you had an issue the first time)