What happens is that after you take over a gym, and put a Pokemon into it, any players on the same team as you will NOT be able to put another defender in for 10 minutes. Niantic is working on a fix.
I did hear from another website that this may have been implemented to prevent gym shaving, but I don't know if that's true or not.
UPDATE: This issue has been fixed.