Lock api version