Lock/UnLock synchronization
Merge pull request #2013 from stupid-boy/master

[rbp/omx] fixed propper lock/unlock in omclock