Do Not Disturb While Driving is an iOS 11 feature that will limit notifications while you are driving. You can turn off do not disturb while driving or change the settings to manually.
Here is how you disable/turn off Do Not Disturb While Driving notification on your iPhone
1) Go to Settings app
2) Tap Do Not Disturb
3) Tap DO NOT DISTURB WHILE DRIVING