use custom lock script