His films like 'The Apartment' and 'Sunset Boulevard' masterfully explore the moral ambiguities and power dynamics within enclosed spaces where secrets, desire, and corruption intertwine.