Concise code fragments to solve discrete challenges.
Lock objects and their children immutably — prevent accidental mutations and enforce deep immutability in strict mode.