As others have said I am not convinced two in the cockpit at all times will ultimately be a solution. Using that theory it means bringing in a cabin crew member while one pilot visits the bathroom who will most likely have no idea how to fly an aircraft, all it would take is for the remaining handling pilot to quickly shut off the engines and or electrics and announce you have control while the person who left the flight is locked out.