You can create varieties of work profile and conditions for late, absence.

Click Menu > Work Profile > Working hour