Here's a lock mastery script I thought I'd share since I didn't find any others. It's not perfect and sometimes gets caught in RT but is normally pretty reliable.

Just enter the guild master's name as a variable

Code:
start:
put take cali from table
wait
put lm measure box
wait
pause 2
put put cali on table
wait
put take lock from table
wait
put lm pt twist box
wait
put put lock on table
wait
put take cali from table
wait
put lm cali my cali
match success could not be more perfectly calibrated
match again You should probably assess them
match success practically glow
match tryagain Under the watchful eye
matchwait

success:
pause 1
put give cal to %1
wait
goto start

again:
put lm cal my cal
wait
pause 2
goto tryagain

tryagain:
put put cal on table
match start relocks
matchwait