Add support for media pool locks