To allow two people to safely co-own a domain name, you can use the multi-user management function of the domain name registrar, set up two-factor authentication and enable domain name lock and transfer protection. At the same time, you can use smart contracts or sign legal agreements to clarify the permissions of both parties and ensure that any operation requires joint authorization from both parties, thereby achieving secure co-management.