I also have a weird proximity sensor from time to time in my new Pixel 7. Usually a reboot helps.
But after the latest beta update, what really scared me was that watching a video from Vanadium froze my screen. Like I could turn it on or off, but nothing let me get out of that screen. No back, home, reset, restart, I couldn't press anything, nor even go to the boot screen. Until I made someone call me and it just worked of after that. Man, I thought I've lost that phone! No issues after that.