To set a new lap during your ride, tap the "bell" button (lower right side of the HUD).

Each lap will be recorded into the FIT file and also in your ride data when synced to third-party sites such as Strava.

lap-button

During a workout, each interval block is recorded as a separate lap in your ride data.