Device is related to Lock. Lock is related to Security. Deposit is a type of Security. Deposit is the opposite of Withdraw. 
Publisher is a type of Firm. 
Device <--RelatedTo--> Lock <--RelatedTo--> Security <--IsA-- Deposit <--Antonym--> Withdraw 
Publisher --IsA--> Firm 