Support staff locking on unit page

STUD-1873
Could there be a helper for this state to make the code more readable?