added lock model
Merge branch 'master' of github.com:Pjchardt/PinkElephant