The impact of locking a package is wider than simply preventing
modifications to the package itself. Any operation implying modification
of the locked package will be blocked. This includes:
• Attempts to reinstall, upgrade, downgrade, or delete the locked
package itself.
• Installation, upgrade, or downgrade of a package where the resultant
package would have a dependency on a different version of the locked
package.
• Deletion, upgrade, or downgrade of any package the locked package
depends upon, either directly or as a consequence of installing or
upgrading some third package.