If you have a passcode set, then that passcode is needed to decrypt the file system. iOS can't access your user data (and thus finish booting), until the passcode is entered once.