You can freeze baked thumbprint cookies for up to 3 months. I would not recommend freezing the dough because it will crack and not spread nicely when baked.