changing locked to mandatory