If it is factory unlocked or permanent unlocked, you will not have a locked phone after flashing.
If it has a patch unlock (which according to your log it is CID 53 so only setool box or a server could have patch unlocked it) then you can't flash it because you'll lose the unlock.