add lock mode parameter to unlock method
12 files changed