Lock the available list when opening a block checkpoint

Reference #1102.