password on the way OUT of a site [closed]

Is there a way to set up a password need in order to get OUT of a website. Think of kids going into a site and needing a password to get out – to keep them in one place safely…