Using lock when record page access info.