Food locked up (7)
I believe the answer is:
dessert
'food' is the definition.
(dessert is a kind of food)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for dessert that I've seen before include "Charlotte maybe" , "Sweet, last course of a meal" , "Fool possibly" , "Pudding, sweet" , "End of meal" .)