Having replaced batteries on my pixel... The best trick ive found is a ziplock baggie full of near boiling water plopped on the screen until the glue loosens.
Use a thin tool to break the seal all the way around then peek under it like youre checking for spiders. Feels like most electronics these days have sneaky weak ribbon cables with ultra brittle connectors behind them.
This might be what all the youtube tutorials recommend as well I cant recall where I saw it. Of course the YouTube teardowns also show you in advance where the booby traps are.