Lock device control added
Changed function name for lock control
Merge pull request #6 from korttoma/master

Lock device control added