To block someone on WhatsApp without opening their message, simply head over to the Privacy settings > Blocked contacts, and add them to your blocked list from there.