You may have a claim of negligence against the restaurant. A consultation with an attorney in your state will provide you with a better idea of what your rights are.
The critical question is how long she was trapped in there. A few minutes would not likely justify the expense of a lawsuit. Several hours likely would. Any consequential injuries?
My responses to questions on Avvo are never intended as legal advice and must not be relied upon as legal advice. I give legal advice only in the course of an attorney-client relationship. Exchange of information through Avvo's Questions forum does not establish an attorney-client relationship with me. That relationship is established only by individual consultation and execution of a written agreement for legal services.