Simplify Lock api for roles