mutex_wrap, optional locks to util classes