Let's take a look at what the function returns so far, by calling convert_to_morse() with the attribute lock_code.
convert_to_morse()
lock_code
Make sure to type convert_to_morse(lock_code).
convert_to_morse(lock_code)