Question: how to put a contact on do not disturb iphone x?
Answer: Open the Messages app and select the conversation for which you want to turn on Do Not Disturb.
Tap the > symbol next to the contact's name you'd like to put on Do Not Disturb.