No dog breed can clamp their ears shut completely.
Dogs can rotate and position their ears to protect them and improve hearing. Breeds like Doberman Pinschers have erect ears, while Basset Hounds have floppy ears that can tuck down. Ears are important for hearing and balance, so consult a veterinarian if you notice redness, swelling, or discharge.