Lock at the very end