Almost all MNCs have this system called flexi-timings. In my company, an employee can come before 11 am and leave after 3 pm only if his/her TL has no issues about it. Ultimately, every week HR monitors the access card entries as well as the timesheet of the employee. He/she should have at least worked for 40 hours a week, or else the deficient hours' pay will be deducted from the employee's salary, which will be reflected as a black mark during their appraisals.
So, an employee can utilize flexible timings but should ensure that they work extra hours to reach the minimum requirement of 40 hours per week. HR monitors both the swiping details and timesheet entries for the past week. If any employee's working hours are less than 40 hours, HR will immediately email the employee as well as his/her TL, including the deficient hours and the deduction in pay.