Adruino code works for proximity sensor and lock unlock the door according to requests.