Read-only alone does not prevent a child record from linking to its parent. When a child form is opened through a linked-record field and the parent record already exists, miniExtensions supplies the parent link when the child is saved. If the parent is new and you need the link available before final submission, save the parent first with Save & Continue.
See how child-form Save & Continue affects parent links for details.