A locking device for retaining a musical instrument can be attached to a stand assembly by a base member. A support unit with an entrance opening supports a portion of the instrument. A force such as gravitational can cause the support unit to rotate a biased locking member to close the entrance opening. Removal of the instrument permits a biasing force to open the locking member.