Pressure of O2 does not depend on concentration terms of other reactants (because both are in solid state), since this is an endothermic reaction. If the temperature be raised dissociation of BaO2 would occur, more O2 is produced at equilibrium, pressure of O2 increases.