Hi Tobias.
There are generally 2 steps to locking a panel:
1. Adding an editlock password
2. Encrypting the panel so it cannot be opened in an external editor like Notepad
Here is an example that turns encryption on and sets the edit mode password to "Tobias"
If you don't need the encryption, you can turn it off by removing encrypt="SimpleEncrypt" - this is a bit nicer if you ever do need to edit it outside of DashBoard and/or want to store it in a version control system like SVN.
<abs contexttype="opengear" editlock="Tobias" encrypt="SimpleEncrypt" style="">
<label height="124" left="16" name="My password is "Tobias"" style="txt-align:west" top="19" width="381"/>
</abs>
#DashBoard