Fixed missing code in lock command.
Merge pull request #219 from mozilla-services/dev

Fixed missing code in lock command