The National Lottery has marked its 30th birthday by awarding a major funding boost to a charity.