Leverage LavMemoryManager's generalized destructor functionality for locks.

Result: the LOCK macro can now safely lock multiple locks in the same function.