added a lock setting