What is the meaning of Matchlock?

Early type of firearm, using a smoldering piece of cord to fire the powder in the firing pan.

The gunlock used in such a weapon, having a slow smouldering match.

Source: wiktionary.org