Cameron Bancroft has scored his second ton of the season and had a tense exchange with Nathan Lyon on an eventful day of Sheffield Shield action.