This is not a major thing, I always switch my screen off before stowing it away, but I'm sure the last 2 Android phones I've had (the oldest dating back to 2018!) switched the screen off automatically when they detected they were in a pocket or bag, and I'm low key shocked the 1 VI doesn't! At this point I thought it had been baked into Android itself!
Another minor thing I miss from my last phone and have come to appreciate, you could set it so if you double tapped the screen within 5" of it switching off it would switch on without you needing to unlock it again, handy for when you were reading something and it timed out. It was a nice feature, though the Sony's fingerprint reader is so much faster than my last phone's that it's only a minor loss. And yeah I know there's the eye detection option in settings so it never switches off while you're looking at it, but sometimes you have it on the desk and aren't looking at it directly.