added religiousLockValue storage variable.
added error check to religiousLock function.
updated version number.