Added lock & unlock functionality to door controller