move spin_lock/unlock only for position,X,Y