what cotrol? OSP U100M?
first of all, You need to locate the symptoms.
Is ATC completed? Is manual tool change operation completed?
can You start spindle revolution or M19?
what is alarm if not?
is there spindle tool set in OSP?
when do You have the alarm A1745? What is alarm messge text? is it locking swich N.G.?
do You have some diagnostic messages there?
Guess, You have two problems there. Door lock is not directly related to tool clamp