PROBLEM TO BE SOLVED: To provide a simple-structured locking mechanism having better locking capability and operability.SOLUTION: A locking mechanism 5 which puts a rod-like object 7 having an engagement member 7a at its tip in a lock state or unlock state on a mounting member 6 comprises: a locking member 2 including an opening 24 into which the rod-like object 7 can be inserted and a catching member 23 which is to be engaged with an engagement member 7a of the rod-like object 7 a spring means S for pressing the locking member 2 in the engagement direction and an operation part 3 for operating the locking member 2. When the rod-like object 7 is inserted into the opening 24, the locking member 2 is moved by the pressing force from the spring means S and puts the rod-like object 7 into a lock state that makes it impossible to pull out the rod-like object 7 after the engagement member is engaged with the catching member. The locking member 2 is designed to put it back into an unlock state through operations by the operation part 3.COPYRIGHT: (C)2009,JPO&INPIT【課題】簡単な構成で、係止力を増大したり操作性を向上する。【解決手段】 棒状物7を被取付部材6に対し解除可能に係止するロック機構5において、前記棒状物7は先端部に係止部7aを有し、ロック機構5は棒状物7を挿入可能な開口24及び棒状物7の係止部7aと係合する係止部23を有したロック部材2と、ロック部材2を前記係合方向へ付勢する付勢手段Sと、ロック部材2を操作する操作部3とを備え、棒状物7を開口24へ挿入すると、ロック部材2が付勢手段Sの付勢により移動して、係止部同士の係合により該棒状物7を引き抜き不能にするロック状態となり、ロック部材2が操作部3を介した操作によって移動前のロック解除状態に復帰されるようにした。【選択図】図2