Unlock code does not work on reboot

Is this the same behavior, e.g. as here? Encryption Unlock Hangs At Startup - 4.1.0.24

If yes, you can prevent this from happening by waiting a few seconds before entering the unlock code