add config option to lock pages explicitly