A postcode sector is a much wider geographic area than a specific postcode. For example, for the postcode EH2 4ET, there is the postcode sector EH2 4 and the postcode district EH2.
Example from the official website of the lottery.