lock page if it's not supposed to be reverted