Juniper Networks TechLibrary
CLI User Guide
"Enter Configuration Mode" section: This official guide details the different commands for entering configuration mode. It explicitly states
"To enter configuration mode and lock the candidate configuration for as long as you remain in configuration mode
use the configure exclusive command... you prevent other users from committing changes."
URL: https://www.juniper.net/documentation/enUS/junos/topics/task/configuration/junos-os-cli-configuration-mode-entering.html
Juniper Networks TechLibrary
CLI User Guide
"Locking and Unlocking the Configuration" section: This section further clarifies the behavior of configuration locks. "When one user edits the configuration
another user can also edit the configuration. If the first user commits the configuration
the changes made by the second user are not lost... To prevent this
you can lock the configuration."
URL: https://www.juniper.net/documentation/enUS/junos/topics/task/configuration/junos-os-configuration-locking-and-unlocking.html