From my experience it appears the guys up front wont come out unless the area is clear of PAX. Was coming back from JNB to DXB a couple of months ago, was standing up front stretching the legs and having a chat with the cabin crew. Next thing the interco goes and it's the captain "requesting" the PAX to go and sit down as he is a security risk!
Later on I was next in line for the WC when the cockpit door opens, the captain's head comes round, look of shock on his face that someone is there and then quickly slams the door.
It's a shame you can no longer stand and have a bit of a chat with the crew, where does the customer relationship side of things go to?