Setting the phone to silent
Google Pixel on Android 10.0.0
Silent mode will quiet your device's notifications. When your device is in silent mode, it will not make a sound to notify you of incoming notifications. You can set it to vibrate to alert you to incoming notifications with vibrations instead of sound.