Police outside complex after inmates take control of parts of prison