Enable geo-fencing

Geofencing is a virtual perimeter for a real-world geographic area in this case your office. If you activate this feature, your employee should clock in and clock out within the radius boundaries.
   

See also, how to set up my office location