You can unlock your Android phone even if you've forgotten the passcode, but you'll usually need to factory reset the phone.
Google released Android 16 QPR2 Beta 3.1 hotfix update today featuring fix for issue related to bootloop after update. Here's How to Recover ...