Lock can be used for Close. Close is a synonym of Fold. Machine can be used for Fold. Machine can be used for Dump. 
Forbid is derived from Bid. Forbid is the opposite of Allow. Allow is related to Okay. 
Lock --UsedFor--> Close <--Synonym--> Fold <--UsedFor-- Machine --UsedFor--> Dump 
Bid <--DerivedFrom-- Forbid <--Antonym--> Allow <--RelatedTo--> Okay 