Refactor page lock escalation