Hc05 disconnecting and not entering AT mode

You are having a similar experience to the poster in this thread.

See the information in Post #13 and following about the setting up of the Com Port and the use of a terminal program.