If the target creature’s power is increased above 2 before the ability resolves, it won’t be a legal target and the ability will do nothing. Once the ability has resolved, however, the creature can’t be blocked even if its power is increased above 2.