How do I disable Do Not Disturb While Driving in iOS 11 if I'm a passenger?
If you have a 3D Touch device, 3D Touch the notification on the lock screen and choose the "I'm not driving" option.

If you have a non-3D Touch device, you will need to long-press the notification and then choose the "I'm not driving" option.