Page Locking
Explanation
When you edit a Page in XWiki, (with any editor except for the In-place WYSIWYG editor or Standalone WYSIWYG editor, which are real-time editors), a lock is put on the Page, by default, to prevent multiple users from editing the same Page simultaneously.
The lock remains active until you exit the edition of the Page (either saving and viewing the changes, or canceling using the common edit actions, or closing the browser window). If you keep the Page open in the browser, without doing any "Save" action, the lock will be active by default for 30 minutes. The duration can be configured by the administrator.
Anyone trying to edit a Page that is locked, will see a warning message allowing them to know that the page is locked:

The warning also provides an option to force the lock. If a user chooses to force the lock, they can edit the Page, but if another user has already saved changes to the same part of the Page, the last user to save will see a "Version Conflict" window and must resolve the edit conflicts before their changes are applied.