The last time I checked, it was illegal to detain someone without color of law. I wouldn't think that a restaurant could take it on themselves to lock you up.
I also think that the food in that restaurant must be very, very good, or their customers very, very stupid for them to still be in business.