Il me ferma la porte au nez = He shut the door in my face.
Cet argument me ferma la bouche = That argument was a poser for me; I could not reply to that.
The above list will hopefully give you a few useful examples demonstrating the appropriate usage of "ferma" in a variety of sentences. We hope that you will now be able to make sentences using this word.