Double lock system


can you help me for this i dont know how to code it imjust a beginner
the will use two double lock system and the system will ring when 3 times enter the password
xrong