I don't understand, you want to let the user select a value, but in fact, force the value anyway?
In this case, I recommend simply not showing that field and setting the relationship in another manner (by code, for example, or set default value).
If you for some reason need the user to "believe" to be selecting something, but in fact, you will save a given value anyway, you could also just produce a simple "dummy" HTML selector, let the user play with that, and in the background save what you need.
This could be done by hooking a custom Toolset Relationships API Code to cred_submit_complete() hook in the form
https://toolset.com/documentation/programmer-reference/cred-api/#cred_submit_complete
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/
I can help with an example of such code, that would, for example, connect the current edited or created post to a given post of another kind in the relationship.
For this, I'd need some more details as what kind of relationship it is (single, O2M), and other details like on what Post Form and to what posts the code should connect the posts.
I can then craft an example, or show an existing one if matching, which you then can adapt to your site.
Note, we cannot craft for Toolset Relationship Forms, because those forms lack an API.
So if the Relationship is of a Many To Many (M2M) kinds, you cannot apply such code as those are connected in Relationship Forms.
Toolset Forms also lack an API to alter the native Select2 Field, the only variables that can be controlled, are the ones you can set in the Form Editor, when inserting the connection fields (Such as author, order)
However, I think you have an O2M or O2O relationship, as you mention "create post forms", wherein those 2 types of relations, you can select a parent post.