Child stealing food

My 6-year-old is significantly overweight. Her doctor told me to monitor how much she eats. I do, but when I don’t see, she’s stealing food. I know that she has more than enough for her age because I allow her to have a little more than the doctor recommended. I don’t know what to do and how to help her.