Iphone 11 - lit up black screen for a couple seconds

I bought a refurbished Iphone 11 a few days ago. Sometimes, when I press the button on the right hand side of the phone to turn the screen on, the screen gets black for a couple seconds but then it works very well.

The display of the phone was replaced by the company selling the Iphone.

The software version on it is IOS 14.2 - so the latest one.

Can I fix this? Should I worry about it? Will it get worse or is it just a software thing that can be fixed with the next update?
I doubt it’s a software thing. More than likely, the issue is with the replacement. Either the screen or the connection. I would have the company that replaced it, redo it.

Original thread: https://forums.imore.com/threads/iphone-11-lit-up-black-screen-for-a-couple-seconds.439503/