Constify lock_id parameter.
Merge pull request #448 from maciejmrowiec/master

Constify lock_id parameter.