Added try-except block into page lock permission migrations
Block editing of locked pages at the view level