I had a very similar problem yesterday on a brand new Pixel 10 Pro. I flashed Graphene OS straight from the box,the Pixel crashed immediately after the grapheneos setup finished (I mean, the os setup, the flashing process seems flawless). Upon rebooting, it wouldn't accept my password, even though it was correct. I formatted the device, and I didn't have any problems since.
Stock os was still android 16.