You might relock the critical partitions (it won’t brick the device, this may only happen by locking the bootloader in case you’ve now installed an older security patch level than before and OEM unlock is disabled) but in case get_unlock_ability is 0 (OEM unlock is disabled) you won’t be able to unlock critical partitions again until you do OEM unlock. But this will probably be greyed out in developer options until you lock the bootloader.
So in that case relocking critical partitions would still be risky.