Many UK loft trapdoors have a rotating latch that clips into a bracket mounted to the trapdoor frame.
This is such a bracket!