add lock for the theme