lock generate decisions