Uhm, so, the problem isn't only the unlocking but also the re-locking of the bootloader.
Leaving the bootloader unlocked while you're storing sensitive data on the phone means that thieves, but also law enforcement, can read the data that's stored on your phone if they guess the cryptographic key that protects your data correctly. If you're using a 4-digit PIN, there's only 9999 combinations, and guessing the PIN correctly can be done in a few minutes on a modern computer.
If you use a strong password, your data would be secured against thieves and law enforcement. But then you'd have to enter a strong password every time that you boot up the device, which is annoying.
So, if you can re-lock the bootloader after having installed the operating system, then an attacker can't just access the raw, encrypted data and try every possible PIN combination on it. Instead, they'd have to go through the operating system's user interface that's installed on the phone, and that can limit the number of allowed password attempts down to 10 or so, so they probably won't have access to the data on the phone if they don't guess the PIN correctly within 10 attempts.