Added lockrun to the rotate commands Examtime/#7323
Merge pull request #13 from ExamTime/issue-7323

Issue 7323