In an example, a retractable lock may include a lock tab disposed within a first device in a first position. The lock tab may engage with a complementary tab receptacle disposed within a separate, second device when the lock tab protrudes out of the first device in a second position. The retractable lock may also include a bias member to bias the lock tab towards the first position, and a magnet to urge the lock tab to the second position when the magnet is drawn towards a magnetic material.