quick question. 2+ gates and one key?

Is this possible? i want to make 4 gates (on each side) at my camp. Could i use 1 key for 4 locks or something? there will be wooden fence and a stone one eventually so im not much into running with 8 gate keys only because i still have some locked chests in a camp as well.. any solution?