Add a second example with multiple locks
Enable automatic checkstyle
Ignore target folder