WD-40 is best for light-duty lubrication and freeing up sticking or partially rusted hinges and latches ... locks as it wont attract dirt to fine lock mechanisms like an oil would.