I have put a time.sleep(20) between the page creation and the page protection, just in case. Perhaps the script was too fast. But nothing happened, the result is the same error as mentioned above.

--
Bináris