new lock and security config