first go at a sitelock function, needs testing
removing an extra private
typo, forgot to end the line