The lubricant is essentially to stop the male & female threads galling or microwelding themselves together. The torque you apply is, as Pat says, to stretch the fastener and this is what stops it coming undone. Lubrication achieves the required stretch at lower torque values.