Strong's Hebrew Dictionary

maçgêr (H4525)

Hebrew: מַסְגֵּר (maçgêr), pronounced mas-gare'.

Origin: from 5462.

Meaning: a fastener, i.e. (of a person) a smith, (of a thing) a prison.

Senses: 1) a shutting up, locksmith, smith, dungeon, enclosure, builder of bulwarks; 1a) locksmith, smith; 1b) dungeon.

In the King James Version: prison, smith.