As you can see, the purpose of :locked subroutine attribute is completely negated by the design of ithreads.