Locked leaveflag