Hello and welcome to the forum!
Your 'side switch' function has been switched to 'Lock Rotation' - go into 'Settings' -> 'General' and check to see if that is the case; if you prefer to use the side switch for muting the sound, then make the change!