door lock mechanism