Electronic revolving doors can stop and trap you, yes. For example, if it bumps into someone in another segment, it will stop and then you are trapped. If "big brother" had a camera that identified you in one of these doors and wanted to stop the door, they could. There is really no difference between that and this.
I have been "trapped" inside one such door (for like 30 whole seconds) because the person in front of me couldn't decide whether they wanted to push the door or have the door push them. Either way, every time they made contact with the door, it stopped moving for five seconds. It doesn't quite make the "most traumatic experiences of my life" list.