EMB ERJ 170/175 ER/LR
Flight Attendant Current
Aircraft Equipment Problem Critical; Deviation / Discrepancy - Procedural Clearance; Deviation / Discrepancy - Procedural Published Material / Policy
Flight Crew Diverted; Flight Crew Overcame Equipment Problem; General Flight Cancelled / Delayed
Aircraft
The cockpit door opened during takeoff. A Flight Attendant closed it. It kept reopening so at 10;000 B Flight Attendant came to assist A Flight Attendant and keep the cockpit safe. The Captain asked us to push a cart against the door and make our clear zone barrier. They couldn't get it to lock so we proceeded to divert to ZZZ The Captain had us stay up front until imminent landing and then I went back to my jump seat for landing. The passengers were informed and asked to remain seated. The few that couldn't hold their bladders used the back. Luckily upon landing in ZZZ the gate agent and operations already had a gate and plane swap ready for us. Would have been a faster swap had we not had an aisle chair passenger.Fix these planes. They're also extremely hot.
EMB-145 Flight Attendant reported that the cabin door opened during takeoff. The crew was unable to close and lock the door; so they diverted and a plane swap was done.