Updated stored proc to exit if the picks aren't locked yet