Auto interlock mechanism