Code for door unlocking project