In my iPhone X’s once I open my phone then it’s display Does not closed automatically

How to get displayed could shut down automatically
Settings> Display & Brightness> scroll down to Auto-Lock and set it to what you want.
Mine is set to never. When I'm done with the phone, I press the sleep button.

Original thread: https://forums.imore.com/threads/in-my-iphone-x%E2%80%99s-once-i-open-my-phone-then-it%E2%80%99s-display-does-not-closed-automatically.408776/