If a resource is locked, block for nonatomic methods as well