A master key system is the best way to manage multiple locks. The only key…