You can’t block an account from sending you a DM without unfollowing the account and making your profile Private. As mentioned before, Restricting/Blocking an account may prove a good workaround, though.