It should be exactly as you describe. If you set student assessment's weight to 0 (zero), it will affect neither the Student A's submission grade, nor any other student's assessment grade. If your assessment will be the only one available, you can easily leave its weight to the default 1 (one).
Workshop
Submission Grade By Teacher Only
This discussion has been locked so you can no longer reply to it.