On the Samsung device, you can mute a conversation/chat with a contact, which disables all notifications of new messages. You can also turn notifications back on in the same way.

Android 10 (One UI 2.0)
Step 1:  Open the  Messages -App
Step 2:  Open the  Conversation
Step 3:  Open the  menu
Step 4:  Tap on  Mute / Unmute
  1. Open the Messages-App
  2. Open the Conversation
  3. Open the menu
  4. Tap on Mute/Unmute

Samsung Instructions