Hello everyone,
I have a process I am developing which uses one project ("Project A.aprx") to create then optionally open another project ("Project B.aprx").
The user opens Project A, selects a parcel then runs a script. The script will create a new folder on the network for Project B, then it will extract a project template file (.aptx) into the folder. It will continue on doing a number of other processes and then at the end it will either open Project B (or not) based on whether or not the user selected the checkbox on the initial script form to open the project.

Irregardless of whether or not the 'Open Project' is checked (i.e. the script opens Project B or the user opens Project
when Project B opens it opens as Read Only.
This is the case as long as Project A is still open. If the user closes Project A and then opens Project B it will open in write mode (which is what I want).
Possible Solutions:
1. Can the script close Project A after initiating opening Project B? I'm not sure if this is possible with arcpy (I'm betting not). But I'd rather not do this as the user may want to keep Project A open and create a Project C, D, E... after creating Project B.
2. Figure out what's happening on the Project A side of things that it's locking Project B and preventing it from opening in write mode. This is what I'd really like to figure out.
I'm using ArcGIS Pro 2.6.3 but have tested this in 2.4.3 and 2.7 and there's no difference.
Any ideas/insights much appreciated.
Thanks All!