Immutability prevents changes to object state, ensuring encapsulation.
Immutability enhances encapsulation by ensuring that once an object's state is set, it cannot be changed. This is particularly useful in multi-threaded environments where consistent state is crucial. In an e-commerce application, an immutable `Order` class might prevent any changes to the order details once the order is placed, ensuring data consistency.