Lock/unlock the scroll position of something.