RFID PN532+SERVO

hello, i'm trying to create a door lock system with my arduino UNO and a PN532. I've seen a lot of projects in the Internet but I don't find the code so I tried to do it for myself. The problem is: I don't have knowledge about RFID and I haven't found any good tutorial to learn. I've thought about mix servo exemple and the PN532 exemple that comes with adafruit libray, but I'm having a lot of problems. I don't know how to do that the servo works when the rfid detects the correct tag. I would be very greatful if somebody could tell me how to do it or sharing the code. THANKS :confused: :slight_smile: