They fasten hair (5)
I believe the answer is:
locks
'hair' is the definition.
(locks can mean hair)
I don't understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for locks that I've seen before include "Canal features" , "Secure fasteners for doors" , "raising devices for sailors" , "Door fasteners" , "Fastens - hair" .)