Direct Answer
The quote confronts the tendency to excuse certain sins or doctrinal errors by saying they function like imprisoning gates—keeping people “locked up” and restricting freedom. The speaker ties this to vice producing inner turmoil (“commotions of the soul”), which can reveal where someone has normalized captivity.