Created door lock directive.