In the United States there are some specific savings accounts, some of which have rules from the federal government (education) and some that are setup by the bank/credit Union.
Some institutions have a Christmas club, where money is set aside each week or each month and then you are given access at the end of the time period.
Some institutions have accounts that pay CD rates but allow you to add funds during the period. They will have some flexibility in setting the time period.
I have seen accounts that are designed to save up for a big purchase, or for a specific time period (summer vacation)
Ask your bank. Or better yet look at a variety of banks websites for their rate sheet. That will explain all the different account types, rates, and rules.
My credit Union allows a large number of sub accounts so that you don't have to commingle the funds.