Question: what happens if you dm someone then block them?
Answer: No. Blocking a person hides your personal chat threads from each other in DMs. Meaning, the thread will disappear, and you won't be able to view the messages (until you unblock them).