Automatic Do Not Disturb for Calendar events on Samsung
You can try IFTTT, Automate, Macrodroid app and automate that.

look given examples and try to create automation script for those calendar events.