Added some basic APIs

KeyCard-Lock API for creating secure doors.