lock preferences according to the application periods they are linked to