Clean the latch surfaces, then apply clean engine oil to the latch pilot bolts and the spring anchor. Also lubricate the hood hinges with engine oil. Use a chassis grease to lubricate all the pivot points in the latch release mechanism.