My iPhone XR suddenly stops all the sounds except phone ring and alarm
My iPhone XR suddenly stops all the sounds like lock, keyboard etc. except phone ring and alarm. When I restart the phone then it works fine but after few hours it turns off the sound again.
Can someone help me to resolve this issue please.
Regards
iPhone XR, iOS 14