There is some very good information in the MHRA GCP Guide (2012) on database lock.