When Dash transactions get locked (to enable fast transactions and prevent double spending), who or what is in control of the "locking"?
Thanks
A set of 10 (pseudo-) randomly, but deterministically selected Masternodes.
Thank you. You're probably not totally surprised

, that that sounds a tad confusing.
So they are randomly selected but there is a deterministic component too?

It's based on the blockhash from the proofofwork for a block, and those hashes cannot be predicted before the block is mined, That's the random component.
Once a block is found, this hash and some other (Masternode-) attributes are used to compute the 10 Masternodes responsible for locking. This is the deterministic component.