Personnel were using a cutting torch to cut off several wall-mounted brackets on the outside of a mechanic shop wall on a barge rig. During the process, personnel noticed smoke coming from an adjacent room. Personnel went to investigate and discovered that the room was locked. After getting the room open, it was determined that there was no fire. No injuries resulted.