add lock on setters for public study