Rest assured that your son is probably already masturbating everywhere and has already found a way to access all sorts of filthy stuff. Best to just admit defeat and try and guide them the best way possible through all this. Trying to put them in a cage is a losing battle.