functie voor inhoudsvergrendeling