Case closed.

This idiom or expression like sentence means:

Finished.
No more discussion.

When someone says “I’m not buying a new car, case closed,” they mean something like:

My decision on buying a new car is final.
I’m not buying a new car, and I don’t want to talk about this subject any more. Etc.

Also see:
I rest my case.