Locking a community is a feature that is not yet fully developed. Visible only on course websites when accessed from Admin > Manage Communities, selecting 'Lock' has no impact on the course website and users' abilities to make edits to websites for previous curriculum periods.