The sandglass measures the two-minutes provided to members to return to the Chamber when a division (or count) is called. After expiry of time, the Chair (President or Speaker or a member acting in the role) will order that the doors be locked and that no member may enter or leave the Chamber until after the division concludes.
For more information on divisions see Fact Sheet 45 – Divisions, Bells and Pairs