Do you have the Ambient Display set to Always On?
I've read that the June security patch altered the behavior of Always On to eliminate the strange flashes that were observed when locking/unlocking some Pixel 2 XLs. A side-effect is that the screen now takes longer to wake from a fully-off state. If you've got AOD disabled, try turning it back on to see if unlocking becomes more responsive.