Added packagelock functionality
Remove packagelock when false
Merge pull request #2 from dieterdemeyer/master

Added packagelock functionality