WD-40 can be a great lubricant for a squeaky door. The spray lubricant is the best option because it is easier to spray without having to take the whole door apart. You can use this lubricant in the latch and on the doorknob to prevent the noise.