nagbar macro for lock
Merge pull request #1 from AnwarAsseef/master

nagbar macro for lock function