Afaik, unlocked bit is never cleared during updates, but you might have downgraded bootloader version to old version which ignored the unlocked bit. In hindsight doing factory reset should always be avoided, without factory reset you would have been in bootloader which honours unlocked bit, and you could have dd'ed your backups back to device.