added actionLockValue.
integrated action lock check into actionLock function.
updated version number.