Added package version lock/unlock functionality