My nokia 5.1 plus is automatically giving random sounds especially when device is locked .what should i do ?
Sounds like a rogue app running on your phone. You can prove this by booting into safe mode and seeing the sound stopped. You can also go to the settings apps and notifications and see in the list the apps that recently had notifications.
Another option is to add a widget to home screen go to settings and select it to your screen and select notification log as the option and then you can check this right after the sounds and see what app is causing this.
It looks like you're new here. If you want to get involved, click one of these buttons!