To change the default sound for all notifications, go to Settings > Sound & notification > Default notification ringtone. Learn more.
To let an app's notifications be heard when Do not disturb is set to Priority only:
If you've set a pattern, PIN or password, you can prevent lock screen notifications from revealing private information.
For all apps
Do one of the following:
Hide sensitive content from individual apps
You can also control app notifications within many apps.