Supposing those things are desirable, the question then becomes whether it should be the central bank who is responsible for restricting the user's funds.
Those examples you listed are also possible with, say, a multi-sig system where some keys are entrusted by guardians (parents, friends, etc.). This seems more flexible and beneficial than the CBDC benefits you listed.