Added page lock mechanism