Class and object level locking
Access modifiers demo