[PLAT-5895] Use an outer lock for the suspend/resume and an inner lock for data structures to avoid deadlock on the worker callbacks

Reviewed-by: Jim Moores