uwrap: Introduce UWRAP_LOCK_ALL and UWRAP_UNLOCK_ALL macros