Silent mode works indepedent
when using the phone, the silent mode is automatically activated. The switch works and is set to sound mode and the screen says that it is silent. After switching the button twice, the sound mode turns on again, and then after some time it automatically switches to the soundless mode
iPhone 13 Pro, iOS 15