lock map on resize --- to do the unlock procedure.