The red and black wires are the power cords of the electromagnetic lock, and the positive and negative electrodes are not distinguished. Stroke & Force : 6mm, 80g. As circuits is powered, the lock tongue will pull back by 6mm and the door will be unlocked.
eBay