How to open the locked doors in Chapter Seven in Marvel’s Guardians of the Galaxy?

It'll be a lot easier if players sided with Nikki in Chapter Two.