Firstly in a totalitarian state they can already freeze your assets at will. Chinese banks regularly do this and there's nothing the victims can do about it. Secondly, although unlikely that states will do so, it's perfectly possible to design CBDC to be privacy preserving.
What digital central bank money actually does is shift power from private banks to the central bank. It also gives those who want to hold large sums of cash more security as they will be able to directly hold the actual currency instead of private bank credit money which is uninsured at large sums.