Your iPhone has a physical mute switch that you can flip to put it in silent mode. Look at the left side of your iPhone, the switch just above the Volume Up button is the mute switch you've been looking for.