The username is root and the password is the password you created after running the sudo grub-mkpasswd-pbkdf2 command. Once you’ve entered the correct credentials, the server will boot and land on the login prompt. Congrats, you’ve password protected the boot process of your Ubuntu Server.

Ubuntu VPS Hosting via How to password protect your GRUB menu.