You can mute a chord by adjusting your fingers such that they touch the unwanted strings. When you pick them, they won’t ring out. Remember not to press them, as they might create a sound. The positioning here is key as if you place them over the 5th, 7th, or 12th frets, you’ll likely get a harmonic.