pkg-(add|install|upgrade): Respect locked packages on forced invocation.

This re-establishes pkg 1.2 behaviour.