template Locking policy for Observer class